Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [UNRELEASE]

### Fixed

- Fix condition check logic for dropdown field values
- Fix validation for mandatory multiple dropdown

## [1.21.21] - 2025-03-21
Expand Down
4 changes: 2 additions & 2 deletions inc/field.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1033,9 +1033,9 @@ function () {
'change',
'input, select, textarea',
function(evt) {
if (evt.target.name == "itilcategories_id") {
if (evt.target.name == "itilcategories_id" && {$items_id} == 0) {
// Do not refresh tab container when form is reloaded
// to prevent issues diues to duplicated calls
// to prevent issues diues to duplicated calls (when object is new)
return;
}
if ($(evt.target).closest('#{$html_id}').length > 0) {
Expand Down