[open-ils-commits] [GIT] Evergreen ILS branch rel_2_2 updated. 4bf9e821db2756f93a8ca149ffebfdaa9a3f9d7a

Evergreen Git git at git.evergreen-ils.org
Fri Jun 1 16:41:49 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, rel_2_2 has been updated
       via  4bf9e821db2756f93a8ca149ffebfdaa9a3f9d7a (commit)
      from  765db53ef7bff1129641e24e7d1b5d0cf954f16f (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 4bf9e821db2756f93a8ca149ffebfdaa9a3f9d7a
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