Polished timepicker if numberOfMonths > 1

This commit is contained in:
Trent 2010-11-14 22:19:01 -05:00
parent f1373940eb
commit ee2821c91d

View file

@ -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);