mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Js function launches popup for Tabbed tabs. This is for accessibility keyboard navigation.
This commit is contained in:
parent
1caa91e498
commit
ce70897f38
@ -414,6 +414,17 @@ function BrowserOpenTab()
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* FOR - keyboard acessibility - context menu for tabbed area ***
|
||||
* Launches the popup for the tabbed area / tabbrowser. Make sure to call this function
|
||||
* when the tabbed panel is available. WARNING somehow need to inform which tab was lack clicked
|
||||
* or mouse over.
|
||||
*
|
||||
**/
|
||||
function BrowserLaunchTabbedPopup() {
|
||||
var tabMenu = document.getAnonymousElementByAttribute(document.getElementById("content"),"anonid","tabContextMenu");
|
||||
tabMenu.showPopup(getBrowser().selectedTab,-1,-1,"popup","bottomleft", "topleft");
|
||||
}
|
||||
|
||||
/**
|
||||
* Has to go through some other approach like a XML-based rule system.
|
||||
|
Loading…
Reference in New Issue
Block a user