File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Swatches/view/adminhtml/templates/catalog/product/attribute Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -265,10 +265,10 @@ require([
265
265
setRowVisibility('is_unique', false);
266
266
setRowVisibility('frontend_class', false);
267
267
break;
268
- <?php $ hiddenFields = $ this ->helper ('Magento\Catalog\Helper\Data ' )->getAttributeHiddenFields () ?>
268
+ <?php $ hiddenFields = $ block ->helper ('Magento\Catalog\Helper\Data ' )->getAttributeHiddenFields () ?>
269
269
<?php foreach ($ hiddenFields as $ type => $ fields ): ?>
270
270
<?php if (in_array ($ type , array ('swatch_visual ' , 'swatch_text ' ))) continue ?>
271
- case '<?php echo $ this ->escapeHtml ($ type ); ?> ':
271
+ case '<?php echo $ block ->escapeHtml ($ type ); ?> ':
272
272
<?php foreach ($ fields as $ one ): ?>
273
273
<?php if ($ one == '_front_fieldset ' ): ?>
274
274
getFrontTab().hide();
@@ -280,7 +280,7 @@ require([
280
280
<?php elseif ($ one == '_scope ' ): ?>
281
281
scopeVisibility = false;
282
282
<?php else : ?>
283
- setRowVisibility('<?php echo $ this ->escapeHtml ($ one ); ?> ', false);
283
+ setRowVisibility('<?php echo $ block ->escapeHtml ($ one ); ?> ', false);
284
284
<?php endif ; ?>
285
285
<?php endforeach ; ?>
286
286
break;
You can’t perform that action at this time.
0 commit comments