Skip to content

Commit 33a69ee

Browse files
committed
[MC-30269: Magento Cloud] - Colour Swatches do not appear - JS Error Triggers
- Fix JS error "Cannot read property 'settings' of undefined"
1 parent 0887683 commit 33a69ee

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/code/Magento/Swatches/view/adminhtml/web/js/text.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ define([
1313
'mage/template',
1414
'uiRegistry',
1515
'jquery/ui',
16-
'prototype'
16+
'prototype',
17+
'validation'
1718
], function (jQuery, mageTemplate, rg) {
1819
'use strict';
1920

app/code/Magento/Swatches/view/adminhtml/web/js/visual.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ define([
1414
'uiRegistry',
1515
'jquery/colorpicker/js/colorpicker',
1616
'prototype',
17-
'jquery/ui'
17+
'jquery/ui',
18+
'validation'
1819
], function (jQuery, mageTemplate, rg) {
1920
'use strict';
2021

0 commit comments

Comments
 (0)