added refresh to _setDate before actually setting date
This commit is contained in:
parent
d705098ff4
commit
23f19b76c3
2
jquery-ui-timepicker-addon.js
vendored
2
jquery-ui-timepicker-addon.js
vendored
|
@ -799,6 +799,8 @@
|
||||||
var tp_inst = $.datepicker._get(inst, 'timepicker');
|
var tp_inst = $.datepicker._get(inst, 'timepicker');
|
||||||
var tp_date = new Date(date.getYear(), date.getMonth(), date.getDay(), date.getHours(), date.getMinutes(), date.getSeconds());
|
var tp_date = new Date(date.getYear(), date.getMonth(), date.getDay(), date.getHours(), date.getMinutes(), date.getSeconds());
|
||||||
|
|
||||||
|
$.datepicker._updateDatepicker(inst);
|
||||||
|
|
||||||
$.datepicker._base_setDate(inst, date, noChange);
|
$.datepicker._base_setDate(inst, date, noChange);
|
||||||
|
|
||||||
if(tp_inst){
|
if(tp_inst){
|
||||||
|
|
Loading…
Reference in a new issue