[Pkg-owncloud-commits] [owncloud] 65/394: Fix deleting multiple user w-o reloading V2

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:11:29 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit 4802f21a9e281fadedc173d5a48e038aab08815f
Author: Brice Maron <brice at bmaron.net>
Date:   Wed Nov 7 23:34:38 2012 +0000

    Fix deleting multiple user w-o reloading V2
---
 settings/js/users.js |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/settings/js/users.js b/settings/js/users.js
index c6fb17a..90d78f3 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list