lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject cvs commit: cocoon-lenya/src/webapp/lenya/content/admin/users user-admin.js
Date Thu, 07 Aug 2003 14:55:30 GMT
andreas     2003/08/07 07:55:30

  Modified:    src/webapp/lenya/content/admin/users user-admin.js
  Log:
  "delete user" bugfix
  
  Revision  Changes    Path
  1.10      +5 -4      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.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- user-admin.js	7 Aug 2003 12:15:12 -0000	1.9
  +++ user-admin.js	7 Aug 2003 14:55:30 -0000	1.10
  @@ -255,13 +255,14 @@
   	var userManager = getUserManager();
   	var userId = cocoon.request.get("user-id");
   	var user = userManager.getUser(userId);
  -	var fullName = user.getFullName();
  +	var name = user.getName();
   	var showPage = true;
   	
   	while (showPage) {
  -		sendPageAndWait("users/confirm-delete.xml", {
  -			"user-id" : userId,
  -			"fullname" : fullName
  +		sendPageAndWait("users/confirm-delete-common.xml", {
  +			"id" : userId,
  +			"name" : name,
  +			"type" : user
   		});
   		
   		if (cocoon.request.get("submit")) {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message