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/groups group-admin.js
Date Thu, 07 Aug 2003 14:55:45 GMT
andreas     2003/08/07 07:55:45

  Modified:    src/webapp/lenya/content/admin/groups group-admin.js
  Log:
  saving members after deleting group
  
  Revision  Changes    Path
  1.7       +4 -0      cocoon-lenya/src/webapp/lenya/content/admin/groups/group-admin.js
  
  Index: group-admin.js
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/webapp/lenya/content/admin/groups/group-admin.js,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- group-admin.js	7 Aug 2003 12:15:12 -0000	1.6
  +++ group-admin.js	7 Aug 2003 14:55:45 -0000	1.7
  @@ -189,7 +189,11 @@
   		
   		if (cocoon.request.get("submit")) {
   			groupManager.remove(group);
  +			var members = group.getMembers();
   			group['delete']();
  +			for (var i = 0; i < members.length; i++) {
  +			    members[i].save();
  +			}
   			showPage = false;
   		}
   	}
  
  
  

---------------------------------------------------------------------
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