New version 2.0.6

Fix bug
This commit is contained in:
Valeriy 2013-12-12 15:27:05 +06:00
parent 9cc3ffc159
commit 040f8a3bf3

View File

@ -405,14 +405,6 @@
case ( !!~([AKEY,CKEY,VKEY,ZKEY,YKEY].indexOf(key))&&ctrlDown ): case ( !!~([AKEY,CKEY,VKEY,ZKEY,YKEY].indexOf(key))&&ctrlDown ):
case !!~([ESC,ARROWUP,ARROWDOWN,ARROWLEFT,ARROWRIGHT,F5,CTRLKEY].indexOf(key)): case !!~([ESC,ARROWUP,ARROWDOWN,ARROWLEFT,ARROWRIGHT,F5,CTRLKEY].indexOf(key)):
return true; 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(); event.preventDefault();
return false; return false;