Polished timepicker if numberOfMonths > 1
This commit is contained in:
parent
f1373940eb
commit
ee2821c91d
7
jquery-ui-timepicker-addon.js
vendored
7
jquery-ui-timepicker-addon.js
vendored
|
@ -449,7 +449,12 @@
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$dp.find('.ui-datepicker-calendar:first').after($tp);
|
if (this.defaults.showButtonPanel) {
|
||||||
|
$dp.find('.ui-datepicker-buttonpane').before($tp);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$dp.append($tp);
|
||||||
|
}
|
||||||
|
|
||||||
tp_inst.$timeObj = $('#ui_tpicker_time_' + dp_inst.id);
|
tp_inst.$timeObj = $('#ui_tpicker_time_' + dp_inst.id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue