Enable the keys to launch focus to the general button.

This commit is contained in:
mgalli%geckonnection.com 2005-10-20 21:47:06 +00:00
Родитель 2982dcd8d0
Коммит e7d1ec6b0b
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -143,6 +143,11 @@ function eventHandlerMenu(e) {
e.preventBubble();
}
if(e.keyCode==134 || e.keyCode==70) /*SoftKey1 or HWKey1*/ {
document.getElementById("general-button").focus();
e.preventBubble();
}
var outnavTarget=document.commandDispatcher.focusedElement.getAttribute("accessrule");
if(outnavTarget!="" && (e.keyCode==40||e.keyCode==38)) {
e.preventBubble();