1) Fix an issue where Deleting N number of rows makes first N number of rows disable. Fixes #3605

2) Ensure that on clicking Delete button should not delete rows immediately from the database server,
   it should be deleted when Save button will be clicked. Fixes #2392
This commit is contained in:
Khushboo Vashi
2019-04-18 12:09:35 +05:30
committed by Akshay Joshi
parent d728ee7436
commit 0b47d1dbf6
4 changed files with 52 additions and 31 deletions

View File

@@ -96,7 +96,7 @@ define(
this.selection.setSelectedRows([]);
}
if (isEditMode()) {
if (isEditMode() && !_.isEmpty(stagedRows)) {
enableButton('#btn-delete-row');
}
} else {