forked from extern/egroupware
No need to check oldValue as check for customfields condition is good enough, and it may cause other date widgets do not get parsed
This commit is contained in:
parent
b6e2460e91
commit
fbd35cba3f
@ -172,7 +172,7 @@ var et2_date = et2_inputWidget.extend(
|
||||
}
|
||||
this.date = new Date(parsed);
|
||||
}
|
||||
else if(!jQuery.isEmptyObject(this._oldValue)) // Parse other date widgets date with timepicker date/time format to date onject
|
||||
else // Parse other date widgets date with timepicker date/time format to date onject
|
||||
{
|
||||
var parsed = jQuery.datepicker.parseDateTime(this.input_date.datepicker('option', 'dateFormat'),
|
||||
this.input_date.datepicker('option', 'timeFormat'), _value);
|
||||
|
Loading…
Reference in New Issue
Block a user