File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
app/code/Magento/Ups/view/adminhtml/templates/system/shipping Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -84,13 +84,13 @@ require(["prototype"], function(){
84
84
'carriers_ups_mode_xml'];
85
85
this.onlyUpsElements = ['carriers_ups_gateway_url'];
86
86
87
- this.storedOriginShipment = '<?php /* @escapeNotVerified */ echo $ storedOriginShipment ?> ';
88
- this.storedFreeShipment = '<?php /* @escapeNotVerified */ echo $ storedFreeShipment ?> ';
89
- this.storedUpsType = '<?php /* @escapeNotVerified */ echo $ storedUpsType ?> ';
87
+ this.storedOriginShipment = '<?php /* @noEscape */ echo $ storedOriginShipment ?> ';
88
+ this.storedFreeShipment = '<?php /* @noEscape */ echo $ storedFreeShipment ?> ';
89
+ this.storedUpsType = '<?php /* @noEscape */ echo $ storedUpsType ?> ';
90
90
<?php /** @var $jsonHelper \Magento\Framework\Json\Helper\Data */ $ jsonHelper = $ this ->helper ('Magento\Framework\Json\Helper\Data ' ); ?>
91
- this.storedAllowedMethods = <?php /* @escapeNotVerified */ echo $ jsonHelper ->jsonEncode ($ storedAllowedMethods ) ?> ;
92
- this.originShipmentObj = <?php /* @escapeNotVerified */ echo $ jsonHelper ->jsonEncode ($ orShipArr ) ?> ;
93
- this.originShipmentObj['default'] = <?php /* @escapeNotVerified */ echo $ jsonHelper ->jsonEncode ($ defShipArr ) ?> ;
91
+ this.storedAllowedMethods = <?php /* @noEscape */ echo $ jsonHelper ->jsonEncode ($ storedAllowedMethods ) ?> ;
92
+ this.originShipmentObj = <?php /* @noEscape */ echo $ jsonHelper ->jsonEncode ($ orShipArr ) ?> ;
93
+ this.originShipmentObj['default'] = <?php /* @noEscape */ echo $ jsonHelper ->jsonEncode ($ defShipArr ) ?> ;
94
94
95
95
this.setFormValues();
96
96
Event.observe($(this.carriersUpsTypeId), 'change', this.setFormValues.bind(this));
You can’t perform that action at this time.
0 commit comments