Add dblclick handler to today button

This commit is contained in:
Valeriy 2013-12-24 18:11:46 +06:00
parent 9fdbd3cc87
commit 386c6c95d9

View File

@ -548,6 +548,9 @@
datetimepicker.data('changed',true);
_xdsoft_datetime.setCurrentTime(new Date);
datetimepicker.trigger('afterOpen.xdsoft');
}).on('dblclick.xdsoft',function(){
input.val( _xdsoft_datetime.str() );
datetimepicker.trigger('close.xdsoft');
});
mounth_picker
.find('.xdsoft_prev,.xdsoft_next')