Fix deleting multiple user w-o reloading V2
This commit is contained in:
parent
d79e9a2da7
commit
910a25adbd
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@ var UserList={
|
|||
* finishDelete() completes the process. This allows for 'undo'.
|
||||
*/
|
||||
do_delete:function( uid ) {
|
||||
|
||||
if (typeof UserList.deleteUid !== 'undefined') {
|
||||
//Already a user in the undo queue
|
||||
UserList.finishDelete(null);
|
||||
}
|
||||
UserList.deleteUid = uid;
|
||||
|
||||
// Set undo flag
|
||||
|
|
Loading…
Reference in a new issue