Skip to content

Commit c174682

Browse files
committed
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 169b3eb commit c174682

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
@@ -109,9 +109,8 @@ define([
109109
* @param {String|Number} recordId
110110
*/
111111
deleteRecord: function (index, recordId) {
112-
this._super();
113-
114112
this.updateInsertData(recordId);
113+
this._super();
115114
},
116115

117116
/**

0 commit comments

Comments
 (0)