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

Evergreen Git git at git.evergreen-ils.org
Sat Jun 2 22:33:18 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  40e34d5274bcb3a045f605a9d35949db39c61256 (commit)
      from  a10bd90bbdb50424054b63ba3db3983cb1f6e2f9 (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 40e34d5274bcb3a045f605a9d35949db39c61256
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 15fe507..57aef29 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