Skip to content

Commit e34d739

Browse files
author
Olexandr Lysenko
committed
MAGETWO-15798: Some fields aren't disabled by default on the webiste scope in System configuration
1 parent 32e3715 commit e34d739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/adminhtml/form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ FormElementDependenceController.prototype = {
458458
}
459459
} else {
460460
$(idTo).show();
461-
if (isAnInputOrSelect) {
461+
if (isAnInputOrSelect && !isInheritCheckboxChecked) {
462462
$(idTo).disabled = false;
463463
jQuery('#' + idTo).removeClass('ignore-validate');
464464
}

0 commit comments

Comments
 (0)