mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
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