[open-ils-commits] [GIT] Evergreen ILS branch master updated. 038c205d146e49ba9727370cc661da9676ff6223

Evergreen Git git at git.evergreen-ils.org
Wed Sep 21 11:48:32 EDT 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  038c205d146e49ba9727370cc661da9676ff6223 (commit)
      from  a120c5a051fa52e61198367eff494e1e3d7d1e4d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 038c205d146e49ba9727370cc661da9676ff6223
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Wed Sep 21 11:47:36 2011 -0400

    properties in chrome:// return XHR status 0
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>

diff --git a/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml b/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml
index 364184c..35f179e 100644
--- a/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml
+++ b/Open-ILS/xul/staff_client/chrome/content/main/bindings.xml
@@ -179,7 +179,7 @@
                             var x = new XMLHttpRequest();
                             x.open("GET",this.src,false);
                             x.send(null);
-                            if (x.status == 200 && x.responseText) {
+                            if ((x.status == 0 || x.status == 200) && x.responseText) {
                                 var props = this._props2object(x.responseText);
                                 for (var i in props) {
                                     this._props[i] = props[i];
@@ -194,7 +194,7 @@
                                 var x2 = new XMLHttpRequest();
                                 x2.open("GET",custom_src,false);
                                 x2.send(null);
-                                if (x2.status == 200 && x2.responseText) {
+                                if ((x2.status == 0 || x2.status == 200) && x2.responseText) {
                                     var props = this._props2object(x2.responseText);
                                     for (var i in props) {
                                         this._props[i] = props[i];

-----------------------------------------------------------------------

Summary of changes:
 .../staff_client/chrome/content/main/bindings.xml  |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list