Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Commit

Permalink
Merge pull request #43 from digitarald/fix-devmenus
Browse files Browse the repository at this point in the history
Fixing tools menu
  • Loading branch information
mykmelez committed Oct 30, 2012
2 parents 95b90d1 + b43d8cd commit 3dc52dd
Showing 1 changed file with 22 additions and 12 deletions.
34 changes: 22 additions & 12 deletions addon/lib/main.js
Expand Up @@ -558,9 +558,19 @@ ContextMenu.Item({
});

Menuitems.Menuitem({
id: "hamB2GerHelper",
menuid: "menu_ToolsPopup",
insertbefore: "sanitizeSeparator",
id: "webdevFxOSSimulatorHelper",
menuid: "menuWebDeveloperPopup",
insertbefore: "devToolsEndSeparator",
label: "Firefox OS Simulator",
onCommand: function() {
openHelperTab();
},
});

Menuitems.Menuitem({
id: "appmenu_fxossimulator",
menuid: "appmenu_webDeveloper_popup",
insertbefore: "appmenu_devToolsEndSeparator",
label: "Firefox OS Simulator",
onCommand: function() {
openHelperTab();
Expand All @@ -577,15 +587,15 @@ Menuitems.Menuitem({
// },
// });

Menuitems.Menuitem({
id: "appifyPage",
menuid: "menu_ToolsPopup",
insertbefore: "sanitizeSeparator",
label: "Install Page in FxOS Simulator",
onCommand: function() {
simulator.addActiveTab();
},
});
// Menuitems.Menuitem({
// id: "appifyPage",
// menuid: "menu_ToolsPopup",
// insertbefore: "sanitizeSeparator",
// label: "Install Page in FxOS Simulator",
// onCommand: function() {
// simulator.addActiveTab();
// },
// });

function create() {
let webappsDir = URL.toFilename(Self.data.url("profile/webapps"));
Expand Down

0 comments on commit 3dc52dd

Please sign in to comment.