Display null dates as empty

This commit is contained in:
Nathan Gray 2011-10-19 15:15:54 +00:00
parent fce81a3e67
commit c21469a106

View File

@ -605,7 +605,7 @@ var et2_date_ro = et2_valueWidget.extend([et2_IDetachedDOM], {
this.value = _value;
if(_value == 0)
if(_value == 0 || _value == null)
{
this.span.attr("datetime", "");
return;