Corrected Added option closeOnTimeSelect.

This commit is contained in:
r.marshevskyy 2015-02-26 13:42:47 +02:00
parent 8061c66738
commit 9dabc4089b

View File

@ -1609,7 +1609,8 @@
datetimepicker.trigger('select.xdsoft', [currentTime]);
datetimepicker.data('input').val(_xdsoft_datetime.str());
if (options.closeOnTimeSelect === true) {
if (options.inline !== true && options.closeOnTimeSelect === true) {
datetimepicker.trigger('close.xdsoft');
}