File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Ups/view/adminhtml/templates/system/shipping Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ $scriptString .= <<<script
156156 setFormValues: function()
157157 {
158158 var a;
159- if ($ (this.carriersUpsTypeId) == 'UPS') {
159+ if ( \$ F (this.carriersUpsTypeId) == 'UPS') {
160160 for (a = 0; a < this.checkingUpsXmlId.length; a++) {
161161 $(this.checkingUpsXmlId[a]).removeClassName('required-entry');
162162 }
@@ -184,13 +184,13 @@ $scriptString .= <<<script
184184 },
185185 changeOriginShipment: function(Event, key)
186186 {
187- this.originShipmentTitle = key ? key : $ ('carriers_ups_origin_shipment');
187+ this.originShipmentTitle = key ? key : \$ F ('carriers_ups_origin_shipment');
188188 this.updateAllowedMethods(this.originShipmentTitle);
189189 },
190190 changeFieldsDisabledState: function (fields, key) {
191- $(fields[key]).disabled = $ (this.carriersUpsActiveId) !== '1'
191+ $(fields[key]).disabled = \$ F (this.carriersUpsActiveId) !== '1'
192192 || $(fields[key] + '_inherit') !== null
193- && $ (fields[key] + '_inherit') === '1';
193+ && \$ F (fields[key] + '_inherit') === '1';
194194
195195 if ($(fields[key]).next() !== undefined) {
196196 $(fields[key]).removeClassName('mage-error').next().remove();
You can’t perform that action at this time.
0 commit comments