a null boolean value should use the label for UNSET instead of False (the default)
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Jun 2010 21:19:42 +0000 (21:19 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 11 Jun 2010 21:19:42 +0000 (21:19 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16689 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js

index d6a108c..5c0ee87 100644 (file)
@@ -137,6 +137,7 @@ if(!dojo._hasResource['openils.widget.AutoFieldWidget']) {
                         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;