diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-11-13 00:21:42 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-11-13 00:21:42 +0400 |
commit | 77c07615f81814c1658668edfb94b005de69fa9b (patch) | |
tree | c660f342c7e722fc1626e2f60fb91170fad77967 /settings | |
parent | 743d01d4a6e9e9d4e4c38112fc02b72d41ee045d (diff) | |
parent | 4802f21a9e281fadedc173d5a48e038aab08815f (diff) |
Merge pull request #321 from eMerzh/fix_multiple_del_user2
Fix deleting multiple user w-o reloading V2
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/users.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/settings/js/users.js b/settings/js/users.js index 48515e49d6c..bce0ac360ea 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -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 |