forked from extern/egroupware
et2_widget_date-> datetime:Fix replacement of entered time manually with actuall time
This commit is contained in:
parent
9523ba79c2
commit
c1683552ba
@ -104,6 +104,11 @@ var et2_date = et2_inputWidget.extend(
|
||||
d.setHours(inst.hour);
|
||||
d.setMinutes(inst.minute);
|
||||
}
|
||||
else if(inst && (typeof inst.hour === 'undefined'))
|
||||
{
|
||||
d.setHours(inst.settings.timepicker.hour);
|
||||
d.setMinutes(inst.settings.timepicker.minute);
|
||||
}
|
||||
self.set_value(d);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user