Skip to content

Commit 0da4fe4

Browse files
committed
MC-16222: Cannot save Shipping Methods page because in UPS method have required fields
1 parent 49ab840 commit 0da4fe4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Ups/view/adminhtml/templates/system/shipping/carrier_config.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ require(["prototype"], function(){
160160
for (a = 0; a < this.checkingUpsXmlId.length; a++) {
161161
if ($F(this.carriersUpsActiveId) === '1') {
162162
if ($(this.checkingUpsXmlId[a] + '_inherit') !== null
163-
&& $F(this.checkingUpsXmlId[a] + '_inherit') === '1') {
163+
&& $F(this.checkingUpsXmlId[a] + '_inherit') === '1'
164+
) {
164165
continue;
165166
}
166167
$(this.checkingUpsXmlId[a]).addClassName('required-entry').disabled = false;

0 commit comments

Comments
 (0)