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 389389 containerScroll: true,
390390 selModel: new Ext.tree.CheckNodeMultiSelectionModel(),
391391 rootVisible: '<?= (bool )$ block ->getRoot ()->getIsVisible () ?> ',
392- useAjax: <?= ( bool ) $ block ->getUseAjax () ?> ,
392+ useAjax: <?= $ block -> escapeJs ( $ block ->getUseAjax () ) ?> ,
393393 switchTreeUrl: '<?= $ block ->escapeJs ($ block ->escapeUrl ($ block ->getSwitchTreeUrl ())) ?> ',
394394 editUrl: '<?= $ block ->escapeJs ($ block ->escapeUrl ($ block ->getEditUrl ())) ?> ',
395395 currentNodeId: <?= (int )$ block ->getCategoryId () ?> ,
Original file line number Diff line number Diff line change 1717
1818<div class="product-add-form">
1919 <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"
2121 id="product_addtocart_form"<?php if ($ _product ->getOptions ()) :?> enctype="multipart/form-data"<?php endif ; ?> >
2222 <input type="hidden" name="product" value="<?= (int )$ _product ->getId () ?> " />
2323 <input type="hidden" name="selected_configurable_option" value="" />
You can’t perform that action at this time.
0 commit comments