summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
Diffstat (limited to 'settings')
-rw-r--r--settings/js/users.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/settings/js/users.js b/settings/js/users.js
index 89718b5a1b6..249d529df4f 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