mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Removed the workaround - listener stuff to the menus. :)
This commit is contained in:
parent
42b7fe8803
commit
4ba955beb7
@ -200,14 +200,6 @@ function MiniNavStartup()
|
||||
gSelectedTab=currentTab;
|
||||
loadURI("http://www.google.com/");
|
||||
|
||||
//
|
||||
// this is temporary til we get menu tminig events stuff fixed.
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=303934
|
||||
//
|
||||
document.getElementById("command_BrowserOpenTab").addEventListener("mousedown",BrowserOpenTab,false);
|
||||
document.getElementById("command_BrowserOpenInfo").addEventListener("mousedown",BrowserOpenInfo,false);
|
||||
document.getElementById("command_BrowserTestDialogs").addEventListener("mousedown",BrowserTestDialogs,false);
|
||||
document.getElementById("command_BrowserTestSendSMS").addEventListener("mousedown",BrowserTestSendSMS,false);
|
||||
|
||||
}
|
||||
|
||||
|
@ -81,9 +81,7 @@
|
||||
<menuitem id="menu_close"/>
|
||||
<menuitem id="menu_closeWindow" command="cmd_closeWindow"
|
||||
key="key_closeWindow" label="about"/>
|
||||
<menuitem id="command_BrowserOpenTab" label="new Tab" />
|
||||
<!-- this only works with keyboard/ oncommand approach, if we use the workaroung (onmousedown),
|
||||
the menu disappears -->
|
||||
<menuitem id="command_BrowserOpenTab" command="cmd_BrowserOpenTab" label="new Tab" />
|
||||
<menu id="menu-zoom" label="Text zoom">
|
||||
<menupopup >
|
||||
<menuitem id="" oncommand="BrowserResetZoomPlus()" label="ZOOM + " />
|
||||
|
Loading…
Reference in New Issue
Block a user