rem: r.onreadystatechange=function(){if(r.readyState!=4) return;if(r.status==200){if(xajaxDebug&&r.responseText.length < 1000)xajax.DebugMessage("Received:\n"+r.responseText);else if(xajaxDebug)xajax.DebugMessage("Received:\n"+r.responseText.substr(0,1000)+"...\n[long response]\n...</xajax>");if(r.responseXML) xajax.processResponse(r.responseXML);else{alert("Error: the XML response that was returned from the server is invalid.");document.body.style.cursor='default';if(xajaxStatusMessages==true)window.status='Invalid XML response error';} } delete r;} 
add: r.onreadystatechange = function() { if (r.readyState != 4) return;  if (r.status==200) { if (xajaxDebug && r.responseText.length < 1000) xajax.DebugMessage("Received:\n" + r.responseText); else if (xajaxDebug) xajax.DebugMessage("Received:\n" + r.responseText.substr(0,1000)+"...\n[long response]\n...</xajax>"); if (r.responseXML) xajax.processResponse(r.responseXML); else { alert("Error: the XML response that was returned from the server is invalid."); document.body.style.cursor = 'default'; if (xajaxStatusMessages == true) window.status = 'Invalid XML response error'; } }  delete r; } 
context: r.onreadystatechange=function(){if(r.readyState!=4)return;if(r.status==200){if(xajaxDebug&&r.responseText.length < 1000)xajax.DebugMessage("Received:\n"+r.responseText);else if(xajaxDebug)xajax.DebugMessage("Received:\n"+r.responseText.substr(0,1000)+"...\n[long response]\n...</xajax>");if(r.responseXML)xajax.processResponse(r.responseXML);else{alert("Error: the XML response that was returned from the server is invalid.");document.body.style.cursor='default';if(xajaxStatusMessages==true)window.status='Invalid XML response error';}}delete r;}
meta: 8936	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8936/eec59bc291abab488d492ab49f32f1bb86259f41/xajax.js/clean/trunk/3dparty/xajax/xajax_js/xajax.js