summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2012-11-07 23:34:38 +0000
committerBrice Maron <brice@bmaron.net>2012-11-12 20:29:06 +0000
commit910a25adbd2ee525b228c8b0d0f73d867fd237d6 (patch)
treeadff6b35192e99af3e074841801374637152aee8 /settings
parentd79e9a2da74849a058ccb88975db52b5ea4a961e (diff)
downloadnextcloud-server-910a25adbd2ee525b228c8b0d0f73d867fd237d6.tar.gz
nextcloud-server-910a25adbd2ee525b228c8b0d0f73d867fd237d6.zip
Fix deleting multiple user w-o reloading V2
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