rem: resolve(); 
add: resolve2(); 
context: function user_delete_user() {	resolve();		var userId = cocoon.request.get("user-id");	var user;		try {		var userManager = getAccreditableManager().getUserManager();		user = userManager.getUser(userId);   	}   	finally {   		release();   	}			var name = user.getName();	var showPage = true;			while (showPage) {		cocoon.sendPageAndWait("users/confirm-delete-common.xml", {			"id" : userId,			"name" : name,			"type" : user		});					if (cocoon.request.get("cancel")) {			break;		}					if (cocoon.request.get("submit")) {			resolve();			try {				var userManager = getAccreditableManager().getUserManager();				userManager.remove(user);			}		   	finally {   				release();		   	}			user['delete']();			showPage = false;		}	}	   	cocoon.sendPage("redirect.html", { "url" : "../users.html" });}
meta: 791	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/791/9803cf7fbafeae04127ee084d5a46c61458cd01d/user-admin.js/buggy/src/webapp/lenya/content/admin/users/user-admin.js