forked from extern/egroupware
Fix selecting 00:00 in datetime widget re-set to current time
This commit is contained in:
parent
6418c06b18
commit
cfa981480e
@ -99,7 +99,7 @@ var et2_date = et2_inputWidget.extend(
|
||||
d.setMonth(date_inst.selectedMonth);
|
||||
d.setDate(date_inst.selectedDay);
|
||||
}
|
||||
if(inst && inst.hour)
|
||||
if(inst && typeof inst.hour != 'undefined')
|
||||
{
|
||||
d.setHours(inst.hour);
|
||||
d.setMinutes(inst.minute);
|
||||
|
Loading…
Reference in New Issue
Block a user