[open-ils-commits] r14262 - branches/rel_1_6_0/Open-ILS/web/js/dojo/openils/widget (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Oct 5 13:49:06 EDT 2009
Author: erickson
Date: 2009-10-05 13:49:02 -0400 (Mon, 05 Oct 2009)
New Revision: 14262
Modified:
branches/rel_1_6_0/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
Log:
if a timestamp is null, don't attempt to turn it into an iso string
Modified: branches/rel_1_6_0/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js
===================================================================
--- branches/rel_1_6_0/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2009-10-05 17:48:55 UTC (rev 14261)
+++ branches/rel_1_6_0/Open-ILS/web/js/dojo/openils/widget/AutoFieldWidget.js 2009-10-05 17:49:02 UTC (rev 14262)
@@ -61,6 +61,7 @@
case 'bool':
return (value) ? 't' : 'f'
case 'timestamp':
+ if(!value) return null;
return dojo.date.stamp.toISOString(value);
case 'int':
case 'float':
More information about the open-ils-commits
mailing list