File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/code/Magento/UrlRewrite/view/adminhtml/templates Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
/** @var \Magento\UrlRewrite\Block\Catalog\Category\Tree $block */
8
+ $ root = $ block ->getRoot (null , 0 )
8
9
?>
9
10
<fieldset class="admin__fieldset" data-ui-id="category-selector">
10
11
<legend class="admin__legend"><span><?= $ block ->escapeHtml (__ ('Select Category ' )) ?> </span></legend>
11
12
<div class="content content-category-tree">
12
13
<input type="hidden" name="categories" id="product_categories" value=""/>
13
- <?php if ($ block -> getRoot () ) : ?>
14
+ <?php if ($ root ) : ?>
14
15
<div class="jstree-default"></div>
15
16
<?php endif ; ?>
16
17
</div>
17
18
</fieldset>
18
- <?php if ($ block -> getRoot () ) : ?>
19
+ <?php if ($ root ) : ?>
19
20
<script type="text/x-magento-init">
20
21
{
21
22
".jstree-default": {
You can’t perform that action at this time.
0 commit comments