Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Commit

Permalink
Forgot to attach "command" events to Help menu items
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhui committed Nov 1, 2011
1 parent 33ee929 commit bcc9d24
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions chrome/content/ui.js
Expand Up @@ -112,6 +112,10 @@ PutIO.UI = {
document.getElementById("putioContextMenupopupActiveTransfers").addEventListener("command", function () {
that.openActiveTransfers();
}, true);
// open Help webpage from the contextual menu item
document.getElementById("putioContextMenupopupHelp").addEventListener("command", function () {
that.openHelp();
}, true);
// open About dialog from the contextual menu item
document.getElementById("putioContextMenupopupAbout").addEventListener("command", function () {
that.openAbout();
Expand All @@ -129,6 +133,10 @@ PutIO.UI = {
document.getElementById("putioToolsMenupopupActiveTransfers").addEventListener("command", function () {
that.openActiveTransfers();
}, true);
// open Help webpage from the contextual menu item
document.getElementById("putioToolsMenupopupHelp").addEventListener("command", function () {
that.openHelp();
}, true);
// open About dialog from the Tools menu item
document.getElementById("putioToolsMenupopupAbout").addEventListener("command", function () {
that.openAbout();
Expand Down

0 comments on commit bcc9d24

Please sign in to comment.