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

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Feb 2 12:47:27 EST 2010


Author: phasefx
Date: 2010-02-02 12:47:23 -0500 (Tue, 02 Feb 2010)
New Revision: 15432

Modified:
   branches/rel_1_6_0/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_0/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul
===================================================================
--- branches/rel_1_6_0/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul	2010-02-02 15:59:11 UTC (rev 15431)
+++ branches/rel_1_6_0/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul	2010-02-02 17:47:23 UTC (rev 15432)
@@ -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