[open-ils-commits] r13315 - trunk/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jun 4 13:44:42 EDT 2009
Author: erickson
Date: 2009-06-04 13:44:39 -0400 (Thu, 04 Jun 2009)
New Revision: 13315
Modified:
trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
Log:
handle isNaN 'money' values
Modified: trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
===================================================================
--- trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2009-06-04 00:58:11 UTC (rev 13314)
+++ trunk/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2009-06-04 17:44:39 UTC (rev 13315)
@@ -63,6 +63,7 @@
return dojo.date.stamp.toISOString(value);
case 'int':
case 'float':
+ case 'money':
if(isNaN(value)) value = 0;
default:
return (value === '') ? null : value;
More information about the open-ils-commits
mailing list