File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Shipping/view/adminhtml/templates/order/packaging Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1212<div class="grid">
1313 <?php $ randomId = rand (); ?>
1414 <div class="admin__table-wrapper">
15- <table class="data-grid">
15+ <table id="packaging-data-grid- <?= /* @noEscape */ $ randomId ?> " class="data-grid">
1616 <thead>
1717 <tr>
1818 <th class="data-grid-checkbox-cell">
123123 </table>
124124 <?php $ scriptString = <<<script
125125 require(['jquery'], function ($) {
126- $("table. data-grid").on('blur', 'td.custom-value input',
126+ $("#packaging- data-grid- { $ randomId } ").on('blur', 'td.custom-value input',
127127 function(){packaging.recalcContainerWeightAndCustomsValue(this)});
128- $("table. data-grid").on('click', 'button[data-action="package-delete-item"]',
128+ $("#packaging- data-grid- { $ randomId } ").on('click', 'button[data-action="package-delete-item"]',
129129 function(){packaging.deleteItem(this)});
130130 });
131131script ;
You can’t perform that action at this time.
0 commit comments