[open-ils-commits] [GIT] Evergreen ILS branch master updated. d19878b7d312718a0a568f8c3a356cc3ea8a5180
Evergreen Git
git at git.evergreen-ils.org
Tue Oct 23 17:06:04 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 d19878b7d312718a0a568f8c3a356cc3ea8a5180 (commit)
from 67b236752db8735c4a71ebeaa9bb60e18bf20e8b (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 d19878b7d312718a0a568f8c3a356cc3ea8a5180
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 207e1f8..09c8671 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