|
7 | 7 | /** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
|
8 | 8 | $blockId = $block->getId();
|
9 | 9 | ?>
|
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) ?>"> |
11 | 12 | <iframe name="product_composite_configure_iframe" id="product_composite_configure_iframe"></iframe>
|
12 | 13 | <?= /* @noEscape */ $secureRenderer->renderEventListenerAsTag(
|
13 | 14 | 'onload',
|
@@ -39,24 +40,34 @@ $blockId = $block->getId();
|
39 | 40 | <div id="product_composite_configure_confirmed" class="product_composite_configure_confirmed"></div>
|
40 | 41 |
|
41 | 42 | <?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 | + ); |
43 | 46 | prodCompConfIframe.style.width = 0;
|
44 | 47 | prodCompConfIframe.style.height = 0;
|
45 | 48 | prodCompConfIframe.style.border = "0px solid #fff";
|
46 | 49 | prodCompConfIframe.style.position = "absolute";
|
47 | 50 | prodCompConfIframe.style.top = "-1000px";
|
48 | 51 | prodCompConfIframe.style.left = "-1000px";
|
49 | 52 |
|
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 | + ); |
51 | 56 | prodCompConfMessages.style.display = "none";
|
52 | 57 |
|
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 | + ); |
54 | 61 | prodCompConfFormAdd.style.display = "none";
|
55 | 62 |
|
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 | + ); |
57 | 66 | prodCompConfFormConf.style.display = "none";
|
58 | 67 |
|
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 | + ); |
60 | 71 | prodCompConfConf.style.display = "none";
|
61 | 72 |
|
62 | 73 | prodConfPopup = document.querySelector(".product-configure-popup-$blockId");
|
|
0 commit comments