mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
add focus event in trigger list
This commit is contained in:
parent
e34f144fb0
commit
bf28ec79ac
@ -488,7 +488,7 @@
|
||||
datetimepicker.setOptions(options);
|
||||
_xdsoft_datetime.setCurrentTime( options.value?options.value:(input&&input.val&&input.val())?input.val():new Date );
|
||||
input.data( 'xdsoft_datetimepicker',datetimepicker )
|
||||
.on('enter.xdsoft keyup.xdsoft mousedown.xdsoft open.xdsoft',function(event){
|
||||
.on('enter.xdsoft keyup.xdsoft mousedown.xdsoft open.xdsoft focus.xdsoft',function(event){
|
||||
if( input.is(':disabled')||input.is(':hidden')||!input.is(':visible') )
|
||||
return;
|
||||
clearTimeout(timer);
|
||||
|
Loading…
Reference in New Issue
Block a user