mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
New version 2.0.6
Fix bug
This commit is contained in:
parent
9cc3ffc159
commit
040f8a3bf3
@ -405,14 +405,6 @@
|
||||
case ( !!~([AKEY,CKEY,VKEY,ZKEY,YKEY].indexOf(key))&&ctrlDown ):
|
||||
case !!~([ESC,ARROWUP,ARROWDOWN,ARROWLEFT,ARROWRIGHT,F5,CTRLKEY].indexOf(key)):
|
||||
return true;
|
||||
case !!~([ENTER].indexOf(key)):
|
||||
var elementSelector = "input:visible,textarea:visible";
|
||||
datetimepicker.trigger('close.xdsoft');
|
||||
$(elementSelector ).eq($(elementSelector ).index(this) + 1).focus();
|
||||
return false;
|
||||
case !!~[TAB].indexOf(key):
|
||||
datetimepicker.trigger('close.xdsoft');
|
||||
return true;
|
||||
}
|
||||
event.preventDefault();
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user