Skip to content

Commit 2ed36b3

Browse files
committed
MC-35514: Can't create shipping label for existing order all JS components in sliding modal doesn't work.
1 parent 58dec45 commit 2ed36b3

File tree

1 file changed

+5
-2
lines changed
  • app/code/Magento/Shipping/view/adminhtml/templates/order/packaging

1 file changed

+5
-2
lines changed

app/code/Magento/Shipping/view/adminhtml/templates/order/packaging/grid.phtml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,14 @@
3131
</th>
3232
<th class="data-grid-th"><?= $block->escapeHtml(__('Product Name')) ?></th>
3333
<th class="data-grid-th"><?= $block->escapeHtml(__('Weight')) ?></th>
34-
<th class="data-grid-th custom-value">
34+
<th id="th-custom-value-<?= /* @noEscape */ $randomId ?>" class="data-grid-th">
3535
<?= $block->escapeHtml(__('Customs Value')) ?>
3636
</th>
3737
<?php if (!$block->displayCustomsValue()): ?>
38-
<?= /* @noEscape */ $secureRenderer->renderStyleAsTag('display: none;', 'th.custom-value') ?>
38+
<?= /* @noEscape */ $secureRenderer->renderStyleAsTag(
39+
'display:none',
40+
'#th-custom-value-' . $randomId
41+
) ?>
3942
<?php endif ?>
4043
<th class="data-grid-th"><?= $block->escapeHtml(__('Qty Ordered')) ?></th>
4144
<th class="data-grid-th"><?= $block->escapeHtml(__('Qty')) ?></th>

0 commit comments

Comments
 (0)