[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 32da2a9d0e78c1348cfd9b490f3100168c50b73c

Evergreen Git git at git.evergreen-ils.org
Sat Mar 30 16:08:14 EDT 2013


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  32da2a9d0e78c1348cfd9b490f3100168c50b73c (commit)
      from  cee7bab642ba1ff99110d933387fa33701d23d3f (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 32da2a9d0e78c1348cfd9b490f3100168c50b73c
Author: Bill Erickson <berick at esilibrary.com>
Date:   Fri Mar 29 13:36:17 2013 -0400

    LP 1126545 repair staff 'return to results' tpac link
    
    Strip the extra "/" from the URL created by the "return to results"
    button in the staff client TPAC view.  Havin the extra "/" in place
    prevents the next/previous links from functioning.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/web/js/ui/default/opac/staff.js b/Open-ILS/web/js/ui/default/opac/staff.js
index 6e2cbda..d50653b 100644
--- a/Open-ILS/web/js/ui/default/opac/staff.js
+++ b/Open-ILS/web/js/ui/default/opac/staff.js
@@ -99,7 +99,7 @@ function rdetail_next_prev_actions(index, count, prev, next, start, end, results
         replace the recid and args on location.href to get the new URL  */
     function fullurl(url) {
         if (url.match(/eg\/opac\/results/)) {
-            return location.href.replace(/eg\/opac\/.+$/, url);
+            return location.href.replace(/\/eg\/opac\/.+$/, url);
         } else {
             return location.href.replace(/\/\d+\??.*/, '/' + url);
         }

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

Summary of changes:
 Open-ILS/web/js/ui/default/opac/staff.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list