forked from extern/egroupware
Set value for date-timeonly when it's string and NaN
This commit is contained in:
parent
e9b035dc8b
commit
ba1141f0cc
@ -148,6 +148,7 @@ var et2_date = et2_inputWidget.extend(
|
|||||||
this.set_validation_error(false);
|
this.set_validation_error(false);
|
||||||
this.date.setHours(parsed.hour);
|
this.date.setHours(parsed.hour);
|
||||||
this.date.setMinutes(parsed.minute);
|
this.date.setMinutes(parsed.minute);
|
||||||
|
this.input_date.val(_value);
|
||||||
if(old_value !== this.getValue())
|
if(old_value !== this.getValue())
|
||||||
{
|
{
|
||||||
this.input_date.timepicker('setTime',_value);
|
this.input_date.timepicker('setTime',_value);
|
||||||
|
Loading…
Reference in New Issue
Block a user