File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
app/code/Magento/ConfigurableProduct/view/adminhtml/web/js/components Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ define([
32
32
identificationProperty : 'id' ,
33
33
'attribute_set_id' : '' ,
34
34
attributesTmp : [ ] ,
35
+ changedFlag : 'was_changed' ,
35
36
listens : {
36
37
'insertDataFromGrid' : 'processingInsertDataFromGrid' ,
37
38
'insertDataFromWizard' : 'processingInsertDataFromWizard' ,
@@ -391,9 +392,9 @@ define([
391
392
'small_image' : row [ 'small_image' ] ,
392
393
image : row . image ,
393
394
'thumbnail' : row . thumbnail ,
394
- 'attributes' : attributesText ,
395
- 'was_changed' : true
395
+ 'attributes' : attributesText
396
396
} ;
397
+ product [ this . changedFlag ] = true ;
397
398
product [ this . canEditField ] = row . editable ;
398
399
product [ this . newProductField ] = row . newProduct ;
399
400
tmpArray . push ( product ) ;
@@ -515,6 +516,7 @@ define([
515
516
tmpArray [ rowIndex ] . status = 1 ;
516
517
}
517
518
519
+ tmpArray [ rowIndex ] [ this . changedFlag ] = true ;
518
520
this . unionInsertData ( tmpArray ) ;
519
521
}
520
522
} ) ;
You can’t perform that action at this time.
0 commit comments