[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. 6976c0594ff133aef7b5958a07b75d88782f02fc

Evergreen Git git at git.evergreen-ils.org
Fri Jun 10 12:56:33 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, rel_2_1 has been updated
       via  6976c0594ff133aef7b5958a07b75d88782f02fc (commit)
      from  8c501fc6a2bd9ddc6e8a4c35c95942df979536c7 (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 6976c0594ff133aef7b5958a07b75d88782f02fc
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Wed Jun 8 14:07:48 2011 -0400

    Replace instance of location.href
    
    xulG.set_tab populates xulG properly in new URL, location.href does not
    
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>

diff --git a/Open-ILS/xul/staff_client/server/patron/display.js b/Open-ILS/xul/staff_client/server/patron/display.js
index 0f7f9ac..415b604 100644
--- a/Open-ILS/xul/staff_client/server/patron/display.js
+++ b/Open-ILS/xul/staff_client/server/patron/display.js
@@ -631,7 +631,7 @@ patron.display.prototype = {
                             } else {
                                 error = js2JSON(E).substr(0,100);
                             }
-                            location.href = urls.XUL_PATRON_BARCODE_ENTRY + '?error=' + window.escape(error);
+                            xulG.set_tab(urls.XUL_PATRON_BARCODE_ENTRY + '?error=' + window.escape(error),{},{});
                         } catch(F) {
                             alert(F);
                         }

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

Summary of changes:
 Open-ILS/xul/staff_client/server/patron/display.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list