[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 4bf6dd1c717d56914230285a5d30b5b81a9e5d73

Evergreen Git git at git.evergreen-ils.org
Tue Oct 23 17:08:17 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_3 has been updated
       via  4bf6dd1c717d56914230285a5d30b5b81a9e5d73 (commit)
      from  ac5161f3dbab7741a0f8ac06098990d7426465f9 (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 4bf6dd1c717d56914230285a5d30b5b81a9e5d73
Author: Thomas Berezansky <tsbere at mvlc.org>
Date:   Tue Oct 23 16:27:00 2012 -0400

    Add missing ? to url_prefix regex check
    
    Fixes Barcode Completion and who knows what else.
    
    Signed-off-by: Thomas Berezansky <tsbere at mvlc.org>
    Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>

diff --git a/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js b/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
index af52251..3928960 100644
--- a/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
+++ b/Open-ILS/xul/staff_client/chrome/content/OpenILS/global_util.js
@@ -596,7 +596,7 @@
         if(base_url) {
             base_url = base_url[0];
             if(urls[base_url])
-                url = url.replace(/^[^?/|]+\|/, urls[base_url]);
+                url = url.replace(/^[^?/|]+\|?/, urls[base_url]);
         }
         if (url.match(/^\//)) url = urls.remote + url;
         if (! url.match(/^(http|https|chrome|oils):\/\//) && ! url.match(/^data:/) ) url = 'http://' + url;

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

Summary of changes:
 .../chrome/content/OpenILS/global_util.js          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list