File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Integration/view/adminhtml/templates
User/view/adminhtml/templates/role Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 38
38
<label class="label"><span><?= $ block ->escapeHtml (__ ('Resources ' )) ?> </span></label>
39
39
40
40
<div class="control">
41
- <div class="tree x-tree" data-role="resource-tree" data-mage-init='<?= /* @noEscape */
42
- $ block ->getJsonSerializer ()->serialize ([
41
+ <div class="tree x-tree" data-role="resource-tree" data-mage-init='<?=
42
+ $ block ->escapeHtmlAttr ( $ block -> getJsonSerializer ()->serialize ([
43
43
'rolesTree ' => [
44
44
"treeInitData " => $ block ->getTree (),
45
45
"treeInitSelectedData " => $ block ->getSelectedResources (),
46
46
],
47
- ]); ?> '>
47
+ ])) ; ?> '>
48
48
</div>
49
49
</div>
50
50
</div>
Original file line number Diff line number Diff line change 38
38
<label class="label"><span><?= $ block ->escapeHtml (__ ('Resources ' )) ?> </span></label>
39
39
40
40
<div class="control">
41
- <div class="tree x-tree" data-role="resource-tree" data-mage-init='<?= /* @noEscape */
42
- $ block ->getJsonSerializer ()->serialize ([
41
+ <div class="tree x-tree" data-role="resource-tree" data-mage-init='<?=
42
+ $ block ->escapeHtmlAttr ( $ block -> getJsonSerializer ()->serialize ([
43
43
'rolesTree ' => [
44
44
"treeInitData " => $ block ->getTree (),
45
45
"treeInitSelectedData " => $ block ->getSelectedResources (),
46
46
],
47
- ]); ?> '>
47
+ ])) ; ?> '>
48
48
</div>
49
49
</div>
50
50
</div>
You can’t perform that action at this time.
0 commit comments