Commit d6496c79 authored by haemmer's avatar haemmer

After selecting an entry, the focus is moved on the submit button

parent d9541728
......@@ -182,7 +182,10 @@ function getTextElement(sourceElement, imgElement) {
switch (e.which) {
case KEY_ESCAPE: closeListUndoTyping(thisTextElement); break;
case KEY_TAB: break;
case KEY_ENTER: break;
case KEY_ENTER:
// Move focus on submit button
$('[type="submit"]').focus();
break;
case KEY_DOWNARROW: break;
case KEY_UPARROW: break;
case KEY_LEFTARROW: break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment