File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Backend/view/adminhtml/templates/system/shipping
Config/Block/System/Config/Form/Field/Select Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ CountryModel.prototype = {
68
68
if (specifCountryElement) {
69
69
if (applyCountryElement.value == 1) {
70
70
// enable related country select only if its 'Use Default' checkbox is absent or is unchecked
71
- specifCountryElement.disabled = ( useDefaultElement) ? useDefaultElement.checked : false;
71
+ specifCountryElement.disabled = useDefaultElement ? useDefaultElement.checked : false;
72
72
if (showMethodElement) {
73
73
this.showElement(showMethodElement.up(1));
74
74
}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function getAfterElementHtml()
37
37
38
38
if (isCountrySpecific) {
39
39
// enable related country select only if its 'Use Default' checkbox is absent or is unchecked
40
- specificCountriesElement.disabled = ( useDefaultElement) ? useDefaultElement.checked : false;
40
+ specificCountriesElement.disabled = useDefaultElement ? useDefaultElement.checked : false;
41
41
} else {
42
42
// disable related country select if all countries are used
43
43
specificCountriesElement.disabled = true;
You can’t perform that action at this time.
0 commit comments