Skip to content

Commit 8a6c0a7

Browse files
author
Roman Ganin
committed
Merge remote-tracking branch 'origin/MAGETWO-34956' into develop
2 parents 4387971 + 5b63f0d commit 8a6c0a7

File tree

7 files changed

+21
-6
lines changed

7 files changed

+21
-6
lines changed

app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/checkboxes/tree.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010

1111
<?php $_divId = 'tree-div_' . time() ?>
1212
<div id="<?php echo $_divId ?>" class="tree"></div>
13-
13+
<!--[if IE]>
14+
<script id="ie-deferred-loader" defer="defer" src=""></script>
15+
<![endif]-->
1416
<script>
1517
require([
1618
'jquery',

app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/tree.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
<div><?php echo __('This operation can take much time'); ?></div>
3636
</div>
3737
</div>
38-
38+
<!--[if IE]>
39+
<script id="ie-deferred-loader" defer="defer" src=""></script>
40+
<![endif]-->
3941
<script>
4042
var tree;
4143
require([

app/code/Magento/Catalog/view/adminhtml/templates/catalog/category/widget/tree.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010

1111
<?php $_divId = 'tree' . $block->getId() ?>
1212
<div id="<?php echo $_divId ?>" class="tree"></div>
13-
13+
<!--[if IE]>
14+
<script id="ie-deferred-loader" defer="defer" src=""></script>
15+
<![endif]-->
1416
<script>
1517
require(['jquery', "prototype", "extjs/ext-tree-checkbox"], function(jQuery){
1618

app/code/Magento/Catalog/view/adminhtml/templates/catalog/product/attribute/set/main.phtml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@ require([
3838
<span class="title"><?php echo __('Unassigned Attributes') ?></span>
3939
</div>
4040
<div id="tree-div2" class="attribute-set-tree"></div>
41+
<!--[if IE]>
42+
<script id="ie-deferred-loader" defer="defer" src=""></script>
43+
<![endif]-->
4144
<script>
42-
require(["jquery", "extjs/ext-tree-checkbox", "prototype"], function(jQuery){
45+
define("tree-panel", ["jquery", "extjs/ext-tree-checkbox", "prototype"], function(jQuery){
4346

4447
//<![CDATA[
4548
var allowDragAndDrop = <?php echo($block->getIsReadOnly() ? 'false' : 'true'); ?>;
@@ -406,6 +409,7 @@ require(["jquery", "extjs/ext-tree-checkbox", "prototype"], function(jQuery){
406409
//]]>
407410

408411
});
412+
require(["tree-panel"]);
409413
</script>
410414
</div>
411415
</div>

app/code/Magento/ConfigurableProduct/view/adminhtml/templates/catalog/product/attribute/set/js.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
?>
1111
<script>
12-
require(['jquery'], function(){
12+
require(["tree-panel"], function(){
1313
ConfigurableNodeExists = function(currentNode) {
1414
for (var i in currentNode.childNodes ) {
1515
if (currentNode.childNodes[i].id) {

app/code/Magento/DesignEditor/view/adminhtml/templates/editor/tools/files/tree.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
</div>
2929

3030
<div id="tree" style="width:100%; overflow:auto;"></div>
31-
31+
<!--[if IE]>
32+
<script id="ie-deferred-loader" defer="defer" src=""></script>
33+
<![endif]-->
3234
<script>
3335
require([
3436
'jquery',

app/code/Magento/Widget/view/adminhtml/templates/instance/edit/layout.phtml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
<div class="actions"><?php echo $block->getAddLayoutButtonHtml() ?></div>
1616
</div>
1717
</fieldset>
18+
<!--[if IE]>
19+
<script id="ie-deferred-loader" defer="defer" src=""></script>
20+
<![endif]-->
1821
<script>
1922
require([
2023
'jquery',

0 commit comments

Comments
 (0)