[open-ils-commits] r11636 - trunk/Open-ILS/xul/staff_client/server/admin
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Dec 19 17:38:17 EST 2008
Author: erickson
Date: 2008-12-19 17:38:12 -0500 (Fri, 19 Dec 2008)
New Revision: 11636
Modified:
trunk/Open-ILS/xul/staff_client/server/admin/org_unit_settings.js
Log:
set boolean values as boolean, not 1/null
Modified: trunk/Open-ILS/xul/staff_client/server/admin/org_unit_settings.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/admin/org_unit_settings.js 2008-12-19 21:09:28 UTC (rev 11635)
+++ trunk/Open-ILS/xul/staff_client/server/admin/org_unit_settings.js 2008-12-19 22:38:12 UTC (rev 11636)
@@ -204,7 +204,7 @@
break;
case 'bool':
var val = osEditBoolSelect.getValue();
- obj[name] = (val == 'true') ? 1 : null;
+ obj[name] = (val == 'true') ? true : false;
break;
default:
obj[name] = osEditTextBox.getValue();
More information about the open-ils-commits
mailing list