From: phasefx Date: Tue, 2 Feb 2010 17:48:14 +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=cea5482d2bcc9794fac3f5237452016549c88cfc;p=working%2FEvergreen.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@15433 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 faa4bdf9a4..475337d64f 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 {