mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
Fix datepicker error,"hour is undefined" from et2_widget_date
This commit is contained in:
parent
b8341e48a1
commit
5517a29d47
@ -104,7 +104,7 @@ var et2_date = et2_inputWidget.extend(
|
||||
d.setHours(inst.hour);
|
||||
d.setMinutes(inst.minute);
|
||||
}
|
||||
else if(inst && (typeof inst.hour === 'undefined'))
|
||||
else if(inst && (typeof inst.hour === 'undefined') && (typeof inst.settings.timepicker !== 'undefined'))
|
||||
{
|
||||
d.setHours(inst.settings.timepicker.hour);
|
||||
d.setMinutes(inst.settings.timepicker.minute);
|
||||
|
Loading…
Reference in New Issue
Block a user