mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
Add dblclick handler to today button
This commit is contained in:
parent
9fdbd3cc87
commit
386c6c95d9
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user