[open-ils-commits] r11637 - branches/rel_1_4/Open-ILS/xul/staff_client/server/admin
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Dec 19 17:38:44 EST 2008
Author: erickson
Date: 2008-12-19 17:38:40 -0500 (Fri, 19 Dec 2008)
New Revision: 11637
Modified:
branches/rel_1_4/Open-ILS/xul/staff_client/server/admin/org_unit_settings.js
Log:
set boolean values as boolean, not 1/null
Modified: branches/rel_1_4/Open-ILS/xul/staff_client/server/admin/org_unit_settings.js
===================================================================
--- branches/rel_1_4/Open-ILS/xul/staff_client/server/admin/org_unit_settings.js 2008-12-19 22:38:12 UTC (rev 11636)
+++ branches/rel_1_4/Open-ILS/xul/staff_client/server/admin/org_unit_settings.js 2008-12-19 22:38:40 UTC (rev 11637)
@@ -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