File tree Expand file tree Collapse file tree 3 files changed +15
-17
lines changed
app/code/Magento/Bundle/view
adminhtml/templates/sales/shipment
base/templates/product/price/selection Expand file tree Collapse file tree 3 files changed +15
-17
lines changed Original file line number Diff line number Diff line change 82
82
<?php if ($ _remainder ):?>
83
83
... <span id="<?= $ block ->escapeHtmlAttr ($ _id = 'id ' . uniqid ()) ?> "><?= $ block ->escapeHtml ($ _remainder ) ?> </span>
84
84
<script>
85
- require(['prototype'], function(){
86
-
87
- $('<?= $ block ->escapeJs ($ _id ) ?> ').hide();
88
- $('<?= $ block ->escapeJs ($ _id ) ?> ').up().observe('mouseover', function(){$('<?= $ block ->escapeJs ($ _id ) ?> ').show();});
89
- $('<?= $ block ->escapeJs ($ _id ) ?> ').up().observe('mouseout', function(){$('<?= $ block ->escapeJs ($ _id ) ?> ').hide();});
90
-
91
- });
92
- </script>
85
+ require(['prototype'], function(){
86
+ <?php $ escapedId = $ block ->escapeJs ($ _id ) ?>
87
+ $('<?= $ escapedId ?> ').hide();
88
+ $('<?= $ escapedId ?> ').up().observe('mouseover', function(){$('<?= $ escapedId ?> ').show();});
89
+ $('<?= $ escapedId ?> ').up().observe('mouseout', function(){$('<?= $ escapedId ?> ').hide();});
90
+ });
91
+ </script>
93
92
<?php endif ;?>
94
93
<?php endif ;?>
95
94
</dd>
Original file line number Diff line number Diff line change 77
77
<?php if ($ _remainder ):?>
78
78
... <span id="<?= $ block ->escapeHtmlAttr ($ _id = 'id ' . uniqid ()) ?> "><?= $ block ->escapeHtml ($ _remainder ) ?> </span>
79
79
<script>
80
- require(['prototype'], function(){
81
-
82
- $('<?= $ block ->escapeJs ($ _id ) ?> ').hide();
83
- $('<?= $ block ->escapeJs ($ _id ) ?> ').up().observe('mouseover', function(){$('<?= $ block ->escapeJs ($ _id ) ?> ').show();});
84
- $('<?= $ block ->escapeJs ($ _id ) ?> ').up().observe('mouseout', function(){$('<?= $ block ->escapeJs ($ _id ) ?> ').hide();});
85
-
86
- });
87
- </script>
80
+ require(['prototype'], function(){
81
+ <?php $ escapedId = $ block ->escapeJs ($ _id ) ?>
82
+ $('<?= $ escapedId ?> ').hide();
83
+ $('<?= $ escapedId ?> ').up().observe('mouseover', function(){$('<?= $ escapedId ?> ').show();});
84
+ $('<?= $ escapedId ?> ').up().observe('mouseout', function(){$('<?= $ escapedId ?> ').hide();});
85
+ });
86
+ </script>
88
87
<?php endif ;?>
89
88
<?php endif ;?>
90
89
</dd>
Original file line number Diff line number Diff line change 10
10
11
11
<?php /** @var \Magento\Framework\Pricing\Render\Amount $block */ ?>
12
12
13
- <?= $ block ->escapeHtml ( $ block -> formatCurrency ($ block ->getDisplayValue (), (bool ) $ block ->getIncludeContainer () )) ?>
13
+ <?= /* @noEscape */ $ block ->formatCurrency ($ block ->getDisplayValue (), (bool ) $ block ->getIncludeContainer ()) ?>
You can’t perform that action at this time.
0 commit comments