There was an error while loading. Please reload this page.
1 parent a04b0ef commit 9ac92f6Copy full SHA for 9ac92f6
app/code/Magento/Catalog/view/adminhtml/templates/catalog/product/attribute/js.phtml
@@ -13,6 +13,9 @@ use Magento\Catalog\Helper\Data;
13
<?php
14
/** @var \Magento\Framework\Json\Helper\Data $jsonHelper */
15
$jsonHelper = $block->getData('jsonHelper');
16
+if (!method_exists($jsonHelper, 'getAttributeHiddenFields')) {
17
+ $jsonHelper = $this->helper(Data::class);
18
+}
19
$scriptString = <<<script
20
require([
21
"jquery",
0 commit comments