rem: cocoon.sendPage("redirect.html", { "url" : redirectUri }); 
add: cocoon.redirectTo(redirectUri); 
context: function iprangeDeleteIPRange() {	resolve();	try {		var redirectUri = getRequestUri();	    var ipRangeManager = getAccreditableManager().getIPRangeManager();		var ipRangeId = cocoon.request.get("iprange-id");		var range = ipRangeManager.getIPRange(ipRangeId);		var name = range.getName();		var showPage = true;				while (showPage) {			cocoon.sendPageAndWait("ipranges/confirm-delete-common.xml", {				"type" : "IP Range",				"id" : ipRangeId,				"name" : name			});						if (cocoon.request.get("cancel")) {				break;			}						if (cocoon.request.get("submit")) {				ipRangeManager.remove(range);				range['delete']();				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/iprange-admin.js/buggy/src/webapp/lenya/content/admin/ipranges/iprange-admin.js