Merge pull request #450 from liebsoer/master

Today button not working anymore
This commit is contained in:
Valeriy 2016-05-10 14:34:25 +05:00
commit 52152ad672

View File

@ -1444,7 +1444,7 @@
.find('.xdsoft_today_button')
.on('touchend mousedown.xdsoft', function () {
datetimepicker.data('changed', true);
_xdsoft_datetime.setCurrentTime(0);
_xdsoft_datetime.setCurrentTime(0, true);
datetimepicker.trigger('afterOpen.xdsoft');
}).on('dblclick.xdsoft', function () {
var currentDate = _xdsoft_datetime.getCurrentTime(), minDate, maxDate;