rem: cocoon.sendPage("redirect.html", { "url" : redirectUri }); 
add: cocoon.redirectTo(redirectUri); 
context: function groupDeleteGroup() {	resolve();	try {		    var redirectUri = getRequestUri();        	    var groupManager = getAccreditableManager().getGroupManager();		var groupId = cocoon.request.get("group-id");		var group = groupManager.getGroup(groupId);		var name = group.getName();		var showPage = true;				while (showPage) {			cocoon.sendPageAndWait("groups/confirm-delete-common.xml", {				"type" : "group",				"id" : groupId,				"name" : name			});						if (cocoon.request.get("cancel")) {				break;			}						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;			}		}		   	cocoon.sendPage("redirect.html", { "url" : redirectUri });   	}   	finally {   		release();   	}}
meta: 791	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/5b9c6ae2fb641effa76e35efe68abb2bee660da7/group-admin.js/clean/src/webapp/lenya/content/admin/groups/group-admin.js