[open-ils-commits] r12221 - branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Feb 18 14:55:34 EST 2009


Author: phasefx
Date: 2009-02-18 14:55:31 -0500 (Wed, 18 Feb 2009)
New Revision: 12221

Modified:
   branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/summary.xul
Log:
when a bool is not a bool

Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/summary.xul
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/summary.xul	2009-02-18 19:44:58 UTC (rev 12220)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/summary.xul	2009-02-18 19:55:31 UTC (rev 12221)
@@ -65,7 +65,7 @@
 				
 				JSAN.use('OpenILS.data'); g.data = new OpenILS.data(); g.data.stash_retrieve();
 				
-				var horizontal_interface = String( g.data.hash.aous['ui.circ.patron_summary.horizontal'] ) == '1';
+				var horizontal_interface = String( g.data.hash.aous['ui.circ.patron_summary.horizontal'] ) == 'true';
 				var url = horizontal_interface ? '/xul/server/patron/summary_overlay_horiz.xul' : '/xul/server/patron/summary_overlay.xul';
 				
 				observer = new myObserver();



More information about the open-ils-commits mailing list