Skip to content

Commit 02bfce7

Browse files
Slabko,Michael(mslabko)Slabko,Michael(mslabko)
Slabko,Michael(mslabko)
authored and
Slabko,Michael(mslabko)
committed
Merge pull request #4 from magento-nord/MAGETWO-44704
MAGETWO-44704: Swatches attributes: empty value is missing, althoug "Values Required" = No
2 parents fecc8e0 + a0099ff commit 02bfce7

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)