You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/10/03 13:47:25 UTC
cvs commit: cocoon-lenya/src/webapp/lenya/content/admin/users user-admin.js
andreas 2003/10/03 04:47:25
Modified: src/webapp/lenya/content/admin/users user-admin.js
Log:
fixed "cancel does not work" bug
Revision Changes Path
1.13 +4 -0 cocoon-lenya/src/webapp/lenya/content/admin/users/user-admin.js
Index: user-admin.js
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/content/admin/users/user-admin.js,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- user-admin.js 21 Sep 2003 13:27:24 -0000 1.12
+++ user-admin.js 3 Oct 2003 11:47:25 -0000 1.13
@@ -279,6 +279,10 @@
"type" : user
});
+ if (cocoon.request.get("cancel")) {
+ break;
+ }
+
if (cocoon.request.get("submit")) {
userManager.remove(user);
user['delete']();
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org