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 12
12
<div class="grid">
13
13
<?php $ randomId = rand (); ?>
14
14
<div class="admin__table-wrapper">
15
- <table class="data-grid">
15
+ <table id="packaging-data-grid- <?= /* @noEscape */ $ randomId ?> " class="data-grid">
16
16
<thead>
17
17
<tr>
18
18
<th class="data-grid-checkbox-cell">
123
123
</table>
124
124
<?php $ scriptString = <<<script
125
125
require(['jquery'], function ($) {
126
- $("table. data-grid").on('blur', 'td.custom-value input',
126
+ $("#packaging- data-grid- { $ randomId } ").on('blur', 'td.custom-value input',
127
127
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"]',
129
129
function(){packaging.deleteItem(this)});
130
130
});
131
131
script ;
You can’t perform that action at this time.
0 commit comments