Skip to content

Commit 9a9cec9

Browse files
MAGETWO-58896: Product Fields Auto-Generation does not work as expected
- Fix static js test
1 parent 8e36891 commit 9a9cec9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Catalog/view/adminhtml/web/js/components/import-handler.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,15 @@ define([
9999
* and disallow/allow import value
100100
*/
101101
userChanges: function () {
102-
this._super();
103102

104103
/**
105104
* As userChanges is called before updateValue,
106105
* we forced to get value from component by reference
107106
*/
108107
var actualValue = arguments[1].currentTarget.value;
109108

109+
this._super();
110+
110111
if (actualValue === '') {
111112
this.allowImport = true;
112113

0 commit comments

Comments
 (0)