add focus event in trigger list

This commit is contained in:
Valeriy 2013-11-26 17:16:17 +06:00
parent e34f144fb0
commit bf28ec79ac

View File

@ -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);