mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
rollup menu when we get a tab. r=saari, a=hyatt. bug #56381.
This commit is contained in:
parent
560743d2e9
commit
a6593822f1
@ -178,6 +178,8 @@ nsMenuListener::KeyPress(nsIDOMEvent* aKeyEvent)
|
||||
if (!handled)
|
||||
mMenuParent->DismissChain();
|
||||
}
|
||||
else if (theChar == NS_VK_TAB)
|
||||
mMenuParent->DismissChain();
|
||||
else if (theChar == NS_VK_ENTER ||
|
||||
theChar == NS_VK_RETURN) {
|
||||
// Open one level.
|
||||
|
Loading…
Reference in New Issue
Block a user