[open-ils-commits] r16689 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jun 11 17:19:47 EDT 2010
Author: erickson
Date: 2010-06-11 17:19:42 -0400 (Fri, 11 Jun 2010)
New Revision: 16689
Modified:
trunk/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: trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2010-06-11 21:16:33 UTC (rev 16688)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2010-06-11 21:19:42 UTC (rev 16689)
@@ -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