Skip to content

Commit f036061

Browse files
MC-30294: [Magento Cloud] - Colour Swatches do not appear - JS Error Triggers
1 parent 5ad40fa commit f036061

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)