Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 68e19af

Browse files
phoenix128chirag-wagento
authored andcommitted
Fix for issue 911 found on MSI project - Cannot read property source_code of undefined Dynamic data rows were failing due to a read after delete condition Rows were removed just before the information update. An undefined javascript error was triggered.
1 parent ba1ff18 commit 68e19af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Ui/view/base/web/js/dynamic-rows/dynamic-rows-grid.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,8 @@ define([
104104
* @param {String|Number} recordId
105105
*/
106106
deleteRecord: function (index, recordId) {
107-
this._super();
108-
109107
this.updateInsertData(recordId);
108+
this._super();
110109
},
111110

112111
/**

0 commit comments

Comments
 (0)