Now displays inline
This commit is contained in:
parent
a06a031f69
commit
2d641af90d
1 changed files with 3 additions and 2 deletions
5
jquery-ui-timepicker-addon.js
vendored
5
jquery-ui-timepicker-addon.js
vendored
|
@ -154,7 +154,7 @@
|
|||
// generate and inject html for timepicker into ui datepicker
|
||||
//########################################################################
|
||||
injectTimePicker: function(dp_inst, tp_inst) {
|
||||
var $dp = $('#' + $.datepicker._mainDivId);
|
||||
var $dp = dp_inst.dpDiv;
|
||||
var opts = tp_inst.defaults;
|
||||
|
||||
// Added by Peter Medeiros:
|
||||
|
@ -227,8 +227,9 @@
|
|||
tp_inst.onTimeChange(dp_inst, tp_inst);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
$dp.find('.ui-datepicker-calendar').after($tp);
|
||||
|
||||
tp_inst.$timeObj = $('#ui_tpicker_time_'+ dp_inst.id);
|
||||
|
||||
if (dp_inst !== null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue