Skip to content
Snippets Groups Projects
Commit 4ba955be authored by mgalli%geckonnection.com's avatar mgalli%geckonnection.com
Browse files

Removed the workaround - listener stuff to the menus. :)

parent 42b7fe88
No related branches found
No related tags found
No related merge requests found
......@@ -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 + " />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment