зеркало из https://github.com/mozilla/gecko-dev.git
rollup menu when we get a tab. r=saari, a=hyatt. bug #56381.
This commit is contained in:
Родитель
560743d2e9
Коммит
a6593822f1
|
@ -178,6 +178,8 @@ nsMenuListener::KeyPress(nsIDOMEvent* aKeyEvent)
|
||||||
if (!handled)
|
if (!handled)
|
||||||
mMenuParent->DismissChain();
|
mMenuParent->DismissChain();
|
||||||
}
|
}
|
||||||
|
else if (theChar == NS_VK_TAB)
|
||||||
|
mMenuParent->DismissChain();
|
||||||
else if (theChar == NS_VK_ENTER ||
|
else if (theChar == NS_VK_ENTER ||
|
||||||
theChar == NS_VK_RETURN) {
|
theChar == NS_VK_RETURN) {
|
||||||
// Open one level.
|
// Open one level.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче