mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Merge pull request #176 from akolosov/parentID
Parent element for appending
This commit is contained in:
commit
d1ab2548da
@ -280,6 +280,8 @@
|
|||||||
prev : 'xdsoft_prev',
|
prev : 'xdsoft_prev',
|
||||||
dayOfWeekStart:0,
|
dayOfWeekStart:0,
|
||||||
|
|
||||||
|
parentID: 'body',
|
||||||
|
|
||||||
timeHeightInTimePicker:25,
|
timeHeightInTimePicker:25,
|
||||||
timepickerScrollbar:true,
|
timepickerScrollbar:true,
|
||||||
|
|
||||||
@ -764,7 +766,7 @@
|
|||||||
.append(mounth_picker)
|
.append(mounth_picker)
|
||||||
.append(calendar);
|
.append(calendar);
|
||||||
|
|
||||||
$('body').append(datetimepicker);
|
$(options.parentID).append(datetimepicker);
|
||||||
|
|
||||||
var _xdsoft_datetime = new function() {
|
var _xdsoft_datetime = new function() {
|
||||||
var _this = this;
|
var _this = this;
|
||||||
|
Loading…
Reference in New Issue
Block a user