Applied fix by monjudoh in _setDateDatepicker
This commit is contained in:
parent
678fa35243
commit
077e416044
1 changed files with 1 additions and 1 deletions
2
jquery-ui-timepicker-addon.js
vendored
2
jquery-ui-timepicker-addon.js
vendored
|
@ -724,7 +724,7 @@ $.datepicker._setTimeDatepicker = function(target, date, withDate) {
|
|||
$.datepicker._base_setDateDatepicker = $.datepicker._setDateDatepicker;
|
||||
$.datepicker._setDateDatepicker = function(target, date) {
|
||||
var inst = this._getInst(target),
|
||||
tp_date = new Date(date.getTime());
|
||||
tp_date = !!date ? new Date(date.getTime()) : date;
|
||||
|
||||
this._updateDatepicker(inst);
|
||||
this._base_setDateDatepicker.apply(this, arguments);
|
||||
|
|
Loading…
Reference in a new issue