Skip to content

Commit d33e67c

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

File tree

2 files changed

+2
-2
lines changed
  • app/code/Magento/Swatches/view/adminhtml

2 files changed

+2
-2
lines changed

app/code/Magento/Swatches/view/adminhtml/templates/catalog/product/attribute/js.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Copyright © 2015 Magento. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
echo "swatchjs";
6+
77
// @codingStandardsIgnoreFile
88

99
?>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ define([
4444
data: data
4545
});
4646

47-
if (isNewOption &&!this.isReadOnly) {
47+
if (isNewOption && !this.isReadOnly) {
4848
this.enableNewOptionDeleteButton(data.id);
4949
}
5050
this.itemCount++;

0 commit comments

Comments
 (0)