aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan@mozilla.com>2010-06-28 18:34:52 -0400
committerEhsan Akhgari <ehsan@mozilla.com>2010-06-28 18:34:52 -0400
commit468f145fb626e6d699fbaf964d1e90599f4e090f (patch)
treef618dfd74d751cbeeff6a58ac71d9ea0467880b5 /lib
parent4fe2aa3ddcde81b6d81e62d7ba454eb62538c139 (diff)
downloadbugzilla-triage-468f145fb626e6d699fbaf964d1e90599f4e090f.tar.gz
Remove the context menu stuff until we have a work-around for context menu items appearing multiple times
Diffstat (limited to 'lib')
-rw-r--r--lib/main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/main.js b/lib/main.js
index f7f275f..3a2bda6 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -111,6 +111,7 @@ function tweakBugzilla(d) {
));
d.getElementsByTagName("head")[0].appendChild(style);
+ /*
// Allow toggling of CC event displays using a context menu entry
var contextMenu = require("context-menu");
var style = d.getElementById("bztw_cc");
@@ -123,6 +124,7 @@ function tweakBugzilla(d) {
d.defaultView.addEventListener("unload", function() {
contextMenu.remove(ccMenuItem);
}, false);
+ */
var userNameCache = {};
function getUserName(email) {
@@ -198,6 +200,7 @@ function tweakBugzilla(d) {
var message = d.getElementById("__bz_tw_checkin_comment");
if (message) {
message = message.textContent;
+ /*
var copyCheckinCommentItem = contextMenu.Item({
label: "Copy Check-in Comment",
context: onBugzillaPage,
@@ -207,6 +210,7 @@ function tweakBugzilla(d) {
d.defaultView.addEventListener("unload", function() {
contextMenu.remove(copyCheckinCommentItem);
}, false);
+ */
}
}