[open-ils-commits] r15433 - branches/rel_1_6/Open-ILS/xul/staff_client/server/patron (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Feb 2 12:48:17 EST 2010


Author: phasefx
Date: 2010-02-02 12:48:14 -0500 (Tue, 02 Feb 2010)
New Revision: 15433

Modified:
   branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul
Log:
Have the Checkout entry point for patron retrieval honor the horizontal summary bar setting

Modified: branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul
===================================================================
--- branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul	2010-02-02 17:47:23 UTC (rev 15432)
+++ branches/rel_1_6/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul	2010-02-02 17:48:14 UTC (rev 15433)
@@ -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 {



More information about the open-ils-commits mailing list