Skip to content

Commit a59192b

Browse files
author
Oleksandr Gorkun
committed
MAGETWO-65466: [Backport] - Issue when deleting item from Product options grid containing more than 20 options - for 2.1
1 parent e1d1b4a commit a59192b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/code/Magento/Catalog/view/adminhtml/web/js/components/dynamic-rows-import-custom-options.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ define([
3434
values.each(function (value) {
3535
delete value['option_id'];
3636
delete value['option_type_id'];
37-
})
37+
});
3838
},
3939

4040
/** @inheritdoc */
@@ -62,9 +62,8 @@ define([
6262
}
6363

6464
if (currentOption.values.length > 0) {
65-
this.__cleanOptionValuesUp(currentOption.values);
65+
self.__cleanOptionValuesUp(currentOption.values);
6666
}
67-
6867
options.push(currentOption);
6968
});
7069
});

0 commit comments

Comments
 (0)