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

Evergreen Git git at git.evergreen-ils.org
Fri Jun 1 16:41:10 EDT 2012


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  9d7807b356d75453a5892e75b5538dcc2c908c40 (commit)
      from  91773a97d7047b1215ee1509c016c3d6f477655e (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 9d7807b356d75453a5892e75b5538dcc2c908c40
Author: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
Date:   Fri Jun 1 15:43:54 2012 -0400

    Fix broken menu entries under "Other -> Booking" in patron interface
    
    This issue was reported to me by Steve Callender.  The menu entries
    under "Other -> Booking" had all stopped working.
    
    There's a catalog of URL constants under window.urls sometimes, and
    formerly (or other times?) at xulG.urls for XUL-based staff client
    interfaces.  There's a new-tab-opening method that needed to be more
    flexible when looking for that catalog.
    
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
    Signed-off-by: Bill Erickson <berick at esilibrary.com>

diff --git a/Open-ILS/web/js/dojo/openils/XUL.js b/Open-ILS/web/js/dojo/openils/XUL.js
index 6bf2c3b..a7f4bfc 100644
--- a/Open-ILS/web/js/dojo/openils/XUL.js
+++ b/Open-ILS/web/js/dojo/openils/XUL.js
@@ -57,7 +57,8 @@ if(!dojo._hasResource["openils.XUL"]) {
         var loc = xulG.url_prefix(url);
 
         if (wrap_in_browser) {
-            loc = xulG.urls.XUL_BROWSER + "?url=" + window.escape(loc);
+            var urls = xulG.urls || window.urls;
+            loc = urls.XUL_BROWSER + "?url=" + window.escape(loc);
             content_params = dojo.mixin(
                 {
                     "no_xulG": false, "show_print_button": true,

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

Summary of changes:
 Open-ILS/web/js/dojo/openils/XUL.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list