From: Jason Etheridge Date: Wed, 9 May 2012 14:30:17 +0000 (-0400) Subject: LP975422 patron search from portal/splash page X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=40e34d5274bcb3a045f605a9d35949db39c61256;p=evergreen%2Fmasslnc.git LP975422 patron search from portal/splash page make it consider the "Patron circulation summary is horizontal" library setting Signed-off-by: Jason Etheridge Signed-off-by: Dan Scott --- diff --git a/Open-ILS/xul/staff_client/server/index.xhtml b/Open-ILS/xul/staff_client/server/index.xhtml index 15fe507a24..57aef290de 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&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) {