From: Dion O. <dol...@us...> - 2005-12-27 22:03:51
|
Update of /cvsroot/magicajax/magicajax/Core/script In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18662/magicajax/Core/script Modified Files: AjaxCallObject.js Log Message: - Added Opera 8 support! - fix so MagicAjaxContext only gets built on an .aspx request, not for every ASP.NET 2.0 .axd (embedded resource) request Index: AjaxCallObject.js =================================================================== RCS file: /cvsroot/magicajax/magicajax/Core/script/AjaxCallObject.js,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** AjaxCallObject.js 26 Dec 2005 03:02:01 -0000 1.37 --- AjaxCallObject.js 27 Dec 2005 22:03:42 -0000 1.38 *************** *** 63,67 **** var attrib = element.getAttribute("AjaxCall"); ! if (attrib != null) return attrib.toLowerCase(); --- 63,67 ---- var attrib = element.getAttribute("AjaxCall"); ! if (attrib != null && attrib != '') return attrib.toLowerCase(); *************** *** 239,243 **** if ("activeElement" in document) { ! // Internet Explorer target = document.activeElement; } --- 239,243 ---- if ("activeElement" in document) { ! // Internet Explorer and Opera target = document.activeElement; } *************** *** 547,551 **** if( this.XmlHttp.status == 0 ) this.OnAbort(); ! else if( this.XmlHttp.status == 200 && this.XmlHttp.statusText == "OK" ) this.OnComplete(this.XmlHttp.responseText, this.XmlHttp.responseXML); else --- 547,551 ---- if( this.XmlHttp.status == 0 ) this.OnAbort(); ! else if( this.XmlHttp.status == 200 ) this.OnComplete(this.XmlHttp.responseText, this.XmlHttp.responseXML); else |