[open-ils-commits] r12222 - 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:58:56 EST 2009


Author: phasefx
Date: 2009-02-18 14:58:52 -0500 (Wed, 18 Feb 2009)
New Revision: 12222

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

Modified: branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.js
===================================================================
--- branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.js	2009-02-18 19:55:31 UTC (rev 12221)
+++ branches/staff-client-experiment/Open-ILS/xul/staff_client/server/patron/display.js	2009-02-18 19:58:52 UTC (rev 12222)
@@ -27,7 +27,7 @@
 		JSAN.use('OpenILS.data'); this.OpenILS = {}; 
 		obj.OpenILS.data = new OpenILS.data(); obj.OpenILS.data.init({'via':'stash'});
 		
-		var horizontal_interface = String( obj.OpenILS.data.hash.aous['ui.circ.patron_summary.horizontal'] ) == '1';
+		var horizontal_interface = String( obj.OpenILS.data.hash.aous['ui.circ.patron_summary.horizontal'] ) == 'true';
 		document.getElementById('ui.circ.patron_summary.horizontal').setAttribute('orient', horizontal_interface ? 'vertical' : 'horizontal');
 		document.getElementById('pdms1').setAttribute('orient', horizontal_interface ? 'vertical' : 'horizontal');
 		



More information about the open-ils-commits mailing list