[open-ils-commits] r16691 - branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jun 11 17:20:52 EDT 2010
Author: erickson
Date: 2010-06-11 17:20:46 -0400 (Fri, 11 Jun 2010)
New Revision: 16691
Modified:
branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
Log:
a null boolean value should use the label for UNSET instead of False (the default)
Modified: branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
===================================================================
--- branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2010-06-11 21:20:39 UTC (rev 16690)
+++ branches/rel_1_6/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2010-06-11 21:20:46 UTC (rev 16691)
@@ -137,6 +137,7 @@
case 'f' :
case 'false' :
return openils.widget.AutoFieldWidget.localeStrings.FALSE;
+ case null :
case 'unset' : return openils.widget.AutoFieldWidget.localeStrings.UNSET;
case true : return openils.widget.AutoFieldWidget.localeStrings.TRUE;
default: return openils.widget.AutoFieldWidget.localeStrings.FALSE;
More information about the open-ils-commits
mailing list