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

Evergreen Git git at git.evergreen-ils.org
Fri Mar 29 14:12:33 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, master has been updated
       via  e0dba3994a3808ec8b4e2f54b23b162bc6c3e523 (commit)
      from  6dd7420c16074cac024d03dfd0f28fa2ba3a58de (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 e0dba3994a3808ec8b4e2f54b23b162bc6c3e523
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>

diff --git a/Open-ILS/web/js/ui/default/opac/staff.js b/Open-ILS/web/js/ui/default/opac/staff.js
index 9bfc69e..e5db008 100644
--- a/Open-ILS/web/js/ui/default/opac/staff.js
+++ b/Open-ILS/web/js/ui/default/opac/staff.js
@@ -120,7 +120,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