From: phasefx Date: Tue, 2 Feb 2010 17:47:23 +0000 (+0000) Subject: Have the Checkout entry point for patron retrieval honor the horizontal summary bar... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b058783226963dd6852b8e105127a359f8d9494b;p=Evergreen.git Have the Checkout entry point for patron retrieval honor the horizontal summary bar setting git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6_0@15432 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul b/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul index 8dceab6bba..d00d386091 100644 --- a/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul +++ b/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul @@ -168,7 +168,8 @@ function spawn_checkout(barcode) { try { - var loc = urls.XUL_PATRON_DISPLAY; // + '?barcode=' + window.escape(barcode); + var horizontal_interface = String( g.data.hash.aous['ui.circ.patron_summary.horizontal'] ) == 'true'; + var loc = horizontal_interface ? urls.XUL_PATRON_HORIZ_DISPLAY : urls.XUL_PATRON_DISPLAY; if (typeof window.xulG == 'object' && typeof window.xulG.set_tab == 'function') { window.xulG.set_tab( loc, {}, { 'barcode' : barcode } ); } else {