Now displays inline

This commit is contained in:
Trent Richardson 2010-09-22 14:59:29 -04:00
parent a06a031f69
commit 2d641af90d

View file

@ -154,7 +154,7 @@
// generate and inject html for timepicker into ui datepicker // generate and inject html for timepicker into ui datepicker
//######################################################################## //########################################################################
injectTimePicker: function(dp_inst, tp_inst) { injectTimePicker: function(dp_inst, tp_inst) {
var $dp = $('#' + $.datepicker._mainDivId); var $dp = dp_inst.dpDiv;
var opts = tp_inst.defaults; var opts = tp_inst.defaults;
// Added by Peter Medeiros: // Added by Peter Medeiros:
@ -229,6 +229,7 @@
}); });
$dp.find('.ui-datepicker-calendar').after($tp); $dp.find('.ui-datepicker-calendar').after($tp);
tp_inst.$timeObj = $('#ui_tpicker_time_'+ dp_inst.id); tp_inst.$timeObj = $('#ui_tpicker_time_'+ dp_inst.id);
if (dp_inst !== null) { if (dp_inst !== null) {