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

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, master has been updated
       via  e3692ad0e21cf67682b24b8c759cbe9b9b2f6794 (commit)
      from  7eb1d4f2cc6a3a30517f28a8bc9f4f0c1e411b45 (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 e3692ad0e21cf67682b24b8c759cbe9b9b2f6794
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 f927512..7840825 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