Fix deleting multiple user w-o reloading V2

This commit is contained in:
Brice Maron 2012-11-07 23:34:38 +00:00
parent d79e9a2da7
commit 910a25adbd
1 changed files with 4 additions and 1 deletions

View File

@ -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