rem: if (!xmlResponse) 
add: if (xmlResponse != false) 
context: ker.send = function(service, request, onSuccessFnc, xmlResponse){	if (!xmlResponse)		xmlResponse = true;	var opt = 	{		method: 'post',		postBody: request,		requestHeaders: ['Content-type', 'application/xml'],		onSuccess: function(t) 		{			ker.showAjaxWait(false);						if (onSuccessFnc)				if (xmlResponse)	onSuccessFnc(xml.ieFix(t.responseXML.firstChild));					else				onSuccessFnc(t.responseText);		},				on404: function(t) 		{			ker.showAjaxWait(false);						alert('Error 404: service "' + t.statusText + '" was not found.');		},				onFailure: function(t) 		{			ker.showAjaxWait(false);						if (t.status >= 400 && t.status <= 500)			{				if (onSuccessFnc)					if (xmlResponse)	onSuccessFnc(xml.ieFix(t.responseXML.firstChild));						else				onSuccessFnc(t.responseText);			}			else						alert('Error ' + t.status + ' -- ' + t.statusText);		}	}	ker.showAjaxWait(true);			new Ajax.Request(Env.locService +'/'+ service, opt);}
meta: 6986	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6986/d4f54726a61c35d091322d3267c437400437f304/kernel.js/buggy/web/geonetwork/scripts/core/kernel/kernel.js