[open-ils-commits] r14026 - trunk/Open-ILS/xul/staff_client/server/patron (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Sep 15 13:22:16 EDT 2009
Author: phasefx
Date: 2009-09-15 13:22:12 -0400 (Tue, 15 Sep 2009)
New Revision: 14026
Modified:
trunk/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul
Log:
spawn the right (horizontal versus vertical) patron display
Modified: trunk/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul 2009-09-15 16:53:44 UTC (rev 14025)
+++ trunk/Open-ILS/xul/staff_client/server/patron/barcode_entry.xul 2009-09-15 17:22:12 UTC (rev 14026)
@@ -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 = xulG.url_prefix( 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