Skip to content

Commit a0099ff

Browse files
author
Alex Bomko
committed
MAGETWO-44704: Swatches attributes: empty value is missing, although "Values Required" = No
1 parent d33e67c commit a0099ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ define([
2626
template: mageTemplate('#swatch-text-row-template'),
2727
add: function (data, render) {
2828
var isNewOption = false,
29-
element, visibleRadio;
29+
element;
3030

3131
if (typeof data.id == 'undefined') {
3232
data = {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ define([
2626
template: mageTemplate('#swatch-visual-row-template'),
2727
add: function (data, render) {
2828
var isNewOption = false,
29-
element, visibleRadio;
29+
element;
3030

3131
if (typeof data.id == 'undefined') {
3232
data = {

0 commit comments

Comments
 (0)