File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
app/code/Magento/Catalog/view/adminhtml/templates/catalog/product/composite Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 38
38
<div id="product_composite_configure_confirmed" class="product_composite_configure_confirmed"></div>
39
39
40
40
<?php $ scriptString = <<<script
41
- prodCompConfIframe = document.querySelector("iframe[name='product_composite_configure_iframe']");
42
- prodCompConfIframe.style.width = 0;
43
- prodCompConfIframe.style.height = 0;
44
- prodCompConfIframe.style.border = "0px solid #fff";
45
- prodCompConfIframe.style.position = "absolute";
46
- prodCompConfIframe.style.top = "-1000px";
47
- prodCompConfIframe.style.left = "-1000px";
41
+ prodCompConfIframe = document.querySelectorAll("iframe[name='product_composite_configure_iframe']");
42
+ for (var i = 0; i < prodCompConfIframe.length; i++) {
43
+ prodCompConfIframe[i].style.display = "none";
44
+ }
48
45
prodCompConfMessages = document.querySelectorAll(".product_composite_configure_messages");
49
46
for (var i = 0; i < prodCompConfMessages.length; i++) {
50
47
prodCompConfMessages[i].style.display = "none";
You can’t perform that action at this time.
0 commit comments