mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 21:49:28 +01:00
fix for tabbing problem (backport from trunk)
This commit is contained in:
parent
35f6385a6b
commit
4995202b8f
@ -349,7 +349,12 @@ function keypressed(keycode, keyvalue) {
|
||||
selectSuggestion(0);
|
||||
}
|
||||
} else {
|
||||
focusToNextInputField();
|
||||
rv = focusToNextInputField();
|
||||
if (rv == 'fm_compose_subject')
|
||||
{
|
||||
currentKeyCode = 13;
|
||||
//alert(currentKeyCode);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
@ -399,6 +404,7 @@ function selectSuggestion(_selectedSuggestion) {
|
||||
}
|
||||
|
||||
function keycodePressed(_keyCode) {
|
||||
//alert(currentKeyCode +'=='+ _keyCode);
|
||||
if(currentKeyCode == _keyCode) {
|
||||
return false;
|
||||
} else {
|
||||
@ -435,9 +441,11 @@ function focusToNextInputField() {
|
||||
inputElements = nextRow.getElementsByTagName('input');
|
||||
inputElements[0].focus();
|
||||
}
|
||||
return 'addressinput';
|
||||
} else {
|
||||
document.getElementById('fm_compose_subject').focus();
|
||||
//document.doit.fm_compose_subject.focus();
|
||||
return 'fm_compose_subject';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user