From: erickson Date: Thu, 6 Jul 2006 20:22:58 +0000 (+0000) Subject: logging status X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=39e06e8f892d2afbd3e422cac6c623c11a582e6a;p=Evergreen.git logging status git-svn-id: svn://svn.open-ils.org/ILS/trunk@4919 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/opac/common/js/RemoteRequest.js b/Open-ILS/web/opac/common/js/RemoteRequest.js index d3c7033a1a..3561f1b972 100644 --- a/Open-ILS/web/opac/common/js/RemoteRequest.js +++ b/Open-ILS/web/opac/common/js/RemoteRequest.js @@ -149,11 +149,13 @@ function _remoteRequestCallback(id) { var object = _allrequests[id]; if(object.cancelled) return; + /* if( isXUL() ) { try { dump('xmlhttprequest status = ' + object.xmlhttp.status + '\n'); } catch(e) {} } + */ if( object.xmlhttp.readyState == 4 ) { try { @@ -260,6 +262,12 @@ RemoteRequest.prototype.getResultObject = function() { if(this.cancelled) return null; if(!this.xmlhttp) return null; + if( isXUL() ) { + try { + dump('xmlhttprequest status = ' + this.xmlhttp.status + '\n'); + } catch(e) {} + } + this.event(null); var text = this.xmlhttp.responseText;