File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Catalog/view
adminhtml/templates/catalog/category
frontend/templates/product/view Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 389
389
containerScroll: true,
390
390
selModel: new Ext.tree.CheckNodeMultiSelectionModel(),
391
391
rootVisible: '<?= (bool )$ block ->getRoot ()->getIsVisible () ?> ',
392
- useAjax: <?= ( bool ) $ block ->getUseAjax () ?> ,
392
+ useAjax: <?= $ block -> escapeJs ( $ block ->getUseAjax () ) ?> ,
393
393
switchTreeUrl: '<?= $ block ->escapeJs ($ block ->escapeUrl ($ block ->getSwitchTreeUrl ())) ?> ',
394
394
editUrl: '<?= $ block ->escapeJs ($ block ->escapeUrl ($ block ->getEditUrl ())) ?> ',
395
395
currentNodeId: <?= (int )$ block ->getCategoryId () ?> ,
Original file line number Diff line number Diff line change 17
17
18
18
<div class="product-add-form">
19
19
<form data-product-sku="<?= $ block ->escapeHtml ($ _product ->getSku ()) ?> "
20
- action="<?= $ block ->escapeJs ( $ block -> escapeUrl ($ block ->getSubmitUrl ($ _product) )) ?> " method="post"
20
+ action="<?= $ block ->escapeUrl ($ block ->getSubmitUrl ($ _product )) ?> " method="post"
21
21
id="product_addtocart_form"<?php if ($ _product ->getOptions ()) :?> enctype="multipart/form-data"<?php endif ; ?> >
22
22
<input type="hidden" name="product" value="<?= (int )$ _product ->getId () ?> " />
23
23
<input type="hidden" name="selected_configurable_option" value="" />
You can’t perform that action at this time.
0 commit comments