Merge pull request #176 from akolosov/parentID

Parent element for appending
This commit is contained in:
Valeriy 2014-09-24 14:54:02 +06:00
commit d1ab2548da

View File

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