[open-ils-commits] r12386 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Mar 3 15:25:39 EST 2009
Author: erickson
Date: 2009-03-03 15:25:36 -0500 (Tue, 03 Mar 2009)
New Revision: 12386
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
Log:
strict compare, since 0 == '' (awesome)
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2009-03-03 20:25:10 UTC (rev 12385)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2009-03-03 20:25:36 UTC (rev 12386)
@@ -51,7 +51,7 @@
case 'timestamp':
return dojo.date.stamp.toISOString(value);
default:
- return (value == '') ? null : value;
+ return (value === '') ? null : value;
}
},
More information about the open-ils-commits
mailing list