Skip to content

Commit a6b23ec

Browse files
committed
MAGETWO-87589: [Magento Cloud] - Issue with polluted database when updating product attributes through API
1 parent 7f0c2e5 commit a6b23ec

File tree

2 files changed

+2
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/form/element
  • dev/tests/js/jasmine/tests/app/code/Magento/Ui/base/js/form/element

2 files changed

+2
-1
lines changed

app/code/Magento/Ui/view/base/web/js/form/element/abstract.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ define([
450450
*/
451451
toggleUseDefault: function (state) {
452452
this.disabled(state);
453+
453454
if (this.source && this.hasService()) {
454455
this.source.set('data.use_default.' + this.index, Number(state));
455456
}

dev/tests/js/jasmine/tests/app/code/Magento/Ui/base/js/form/element/abstract.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ define([
3434
index: 'testIndex',
3535
dataScope: dataScope,
3636
service: {
37-
template: "ui/form/element/helper/service"
37+
template: 'ui/form/element/helper/service'
3838
}
3939
},
4040
model;

0 commit comments

Comments
 (0)