Skip to content

Commit 95e5361

Browse files
committed
MC-39096: Widget parameter depends does not work correctly on specified block
1 parent 9798804 commit 95e5361

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/web/mage/adminhtml/form.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,8 @@ define([
551551
} else {
552552
if (target) {
553553
target.show();
554+
headElement = jQuery('.field-' + idTo).add('.field-chooser' + idTo);
555+
headElement.show();
554556
}
555557

556558
if (isAnInputOrSelect && !isInheritCheckboxChecked) {
@@ -580,6 +582,9 @@ define([
580582

581583
if (headElement.length > 0) {
582584
headElement.hide();
585+
} else {
586+
headElement = jQuery('.field-' + idTo).add('.field-chooser' + idTo);
587+
headElement.hide();
583588
}
584589

585590
if (target) {

0 commit comments

Comments
 (0)