rem: if (t.status == 200) { var responseAsText = t.responseText; var redirectUrl = t.getResponseHeader('Ajax-Location'); 
add:   var redirectUrl = t.getResponseHeader('Ajax-Location');   if (typeof(redirectUrl) != "undefined" && redirectUrl != null && redirectUrl != "") {  t.onreadystatechange = Wicket.emptyFunction; 
context: 	stateChangeCallback: function() {			var t = this.transport;		if (t.readyState == 4) {			if (t.status == 200) {								var responseAsText = t.responseText;				var redirectUrl = t.getResponseHeader('Ajax-Location');								if (typeof(redirectUrl) != "undefined" && redirectUrl != null && redirectUrl != "") {					window.location = redirectUrl;				}				else {					var log = Wicket.Log.info;									log("Received ajax response (" + responseAsText.length + " characters)");					if (this.debugContent != false) {						log("\n" + responseAsText);					}	        			        		if (this.parseResponse == true) {						var xmldoc;											if (typeof(window.XMLHttpRequest) != "undefined" && typeof(DOMParser) != "undefined") {													var parser = new DOMParser();							xmldoc = parser.parseFromString(responseAsText, "text/xml");												} else if (window.ActiveXObject) {							xmldoc = t.responseXML;						}						this.loadedCallback(xmldoc); 					} else {						this.loadedCallback(responseAsText);					}        							if (this.suppressDone == false)						this.done();				}        	} else {        		var log = Wicket.Log.error;        		log("Received Ajax response with code: " + t.status);		   		this.done();        		        		this.failure();        	}    	        	t.onreadystatechange = Wicket.emptyFunction;        	this.transport = null;               }        	}
meta: 1204	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1204/efb0cee2c266d304d5efc54cbc7dbd501dc04eb5/wicket-ajax.js/buggy/wicket/src/java/wicket/ajax/wicket-ajax.js