Skip to content

Commit

Permalink
fix(rowEdit): cancel rowEditSaveTimer on flushDirtyRows - may cause d…
Browse files Browse the repository at this point in the history
…ouble row save
  • Loading branch information
cmotruc authored and mportuga committed Aug 11, 2017
1 parent aae3f9d commit 6711c72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/features/row-edit/js/gridRowEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@
flushDirtyRows: function(grid){
var promises = [];
grid.api.rowEdit.getDirtyRows().forEach( function( gridRow ){
service.cancelTimer( grid, gridRow );
service.saveRow( grid, gridRow )();
promises.push( gridRow.rowEditSavePromise );
});
Expand Down

0 comments on commit 6711c72

Please sign in to comment.