Skip to content

Commit 0abb313

Browse files
committed
MC-35475: Wrong design for Admin Customer Edit Page on Safari browser
1 parent 84ff042 commit 0abb313

File tree

1 file changed

+17
-6
lines changed
  • app/code/Magento/Catalog/view/adminhtml/templates/catalog/product/composite

1 file changed

+17
-6
lines changed

app/code/Magento/Catalog/view/adminhtml/templates/catalog/product/composite/configure.phtml

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
88
$blockId = $block->getId();
99
?>
10-
<div id="product_composite_configure" class="product-configure-popup product-configure-popup-<?= $block->escapeHtmlAttr($blockId) ?>">
10+
<div id="product_composite_configure"
11+
class="product-configure-popup product-configure-popup-<?= $block->escapeHtmlAttr($blockId) ?>">
1112
<iframe name="product_composite_configure_iframe" id="product_composite_configure_iframe"></iframe>
1213
<?= /* @noEscape */ $secureRenderer->renderEventListenerAsTag(
1314
'onload',
@@ -39,24 +40,34 @@ $blockId = $block->getId();
3940
<div id="product_composite_configure_confirmed" class="product_composite_configure_confirmed"></div>
4041

4142
<?php $scriptString = <<<script
42-
prodCompConfIframe = document.querySelector(".product-configure-popup-$blockId iframe[name='product_composite_configure_iframe']");
43+
prodCompConfIframe = document.querySelector(
44+
".product-configure-popup-$blockId iframe[name='product_composite_configure_iframe']"
45+
);
4346
prodCompConfIframe.style.width = 0;
4447
prodCompConfIframe.style.height = 0;
4548
prodCompConfIframe.style.border = "0px solid #fff";
4649
prodCompConfIframe.style.position = "absolute";
4750
prodCompConfIframe.style.top = "-1000px";
4851
prodCompConfIframe.style.left = "-1000px";
4952
50-
prodCompConfMessages = document.querySelector(".product-configure-popup-$blockId .product_composite_configure_messages");
53+
prodCompConfMessages = document.querySelector(
54+
".product-configure-popup-$blockId .product_composite_configure_messages"
55+
);
5156
prodCompConfMessages.style.display = "none";
5257
53-
prodCompConfFormAdd = document.querySelector(".product-configure-popup-$blockId .product_composite_configure_form_additional");
58+
prodCompConfFormAdd = document.querySelector(
59+
".product-configure-popup-$blockId .product_composite_configure_form_additional"
60+
);
5461
prodCompConfFormAdd.style.display = "none";
5562
56-
prodCompConfFormConf = document.querySelector(".product-configure-popup-$blockId .product_composite_configure_form_confirmed");
63+
prodCompConfFormConf = document.querySelector(
64+
".product-configure-popup-$blockId .product_composite_configure_form_confirmed"
65+
);
5766
prodCompConfFormConf.style.display = "none";
5867
59-
prodCompConfConf = document.querySelector(".product-configure-popup-$blockId .product_composite_configure_confirmed");
68+
prodCompConfConf = document.querySelector(
69+
".product-configure-popup-$blockId .product_composite_configure_confirmed"
70+
);
6071
prodCompConfConf.style.display = "none";
6172
6273
prodConfPopup = document.querySelector(".product-configure-popup-$blockId");

0 commit comments

Comments
 (0)