[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. e871a59c1ecc8a2032567fb8f7eeb9164e2342d0

Evergreen Git git at git.evergreen-ils.org
Sat Jun 2 22:34:38 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_1 has been updated
       via  e871a59c1ecc8a2032567fb8f7eeb9164e2342d0 (commit)
      from  20dc2fb5eabe1dc36a2b5219f9a1c833b6bd4506 (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 e871a59c1ecc8a2032567fb8f7eeb9164e2342d0
Author: Jason Etheridge <jason at esilibrary.com>
Date:   Wed May 9 10:30:17 2012 -0400

    LP975422 patron search from portal/splash page
    
    make it consider the "Patron circulation summary is horizontal" library setting
    
    Signed-off-by: Jason Etheridge <jason at esilibrary.com>
    Signed-off-by: Dan Scott <dan at coffeecode.net>

diff --git a/Open-ILS/xul/staff_client/server/index.xhtml b/Open-ILS/xul/staff_client/server/index.xhtml
index dfa9de8..be6d1b1 100644
--- a/Open-ILS/xul/staff_client/server/index.xhtml
+++ b/Open-ILS/xul/staff_client/server/index.xhtml
@@ -219,15 +219,13 @@
                 }
                 function find_patron(newtab) {
                         if(newtab)
-                                xulG.new_tab(urls.XUL_PATRON_DISPLAY,{},{});
+                                xulG.new_patron_tab({},{});
                         else
-                                xulG.set_tab(urls.XUL_PATRON_DISPLAY,{},{});
+                                xulG.set_patron_tab({},{});
                 }
                 
                 function spawn_search(s) {
-                        var loc = urls.XUL_PATRON_DISPLAY;
-                        loc += '?doit=1&amp;query=' + window.escape(js2JSON(s));
-                        xulG.new_tab( loc, {}, {} );
+                        xulG.new_patron_tab( {}, { 'doit' : 1, 'query' : js2JSON(s) } );
                 }
                 function register_patron(newtab) {
                         function spawn_editor(p) {

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

Summary of changes:
 Open-ILS/xul/staff_client/server/index.xhtml |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list