aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-02-14 17:51:53 +0100
committerMatěj Cepl <mcepl@redhat.com>2011-02-14 17:57:45 +0100
commit04657077ba12e8f23feaa0c3787b590c44446056 (patch)
treeebe206422871e71b142985786a9472ff447be0cd /lib/main.js
parent838c1d4abd72bd87dcc8ee41310ca3a8af498c96 (diff)
downloadbugzilla-triage-04657077ba12e8f23feaa0c3787b590c44446056.tar.gz
Basic functionality working. Switching to this bug for my day-to-day work.
Diffstat (limited to 'lib/main.js')
-rw-r--r--lib/main.js12
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/main.js b/lib/main.js
index abdc758..be4ff8d 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -115,8 +115,8 @@ var contentScriptLibraries = {
"bugzilla.redhat.com": [
self.data.url("util.js"),
self.data.url("color.js"),
+ self.data.url("rhbzpage.js"),
self.data.url("bzpage.js")
-// self.data.url("rhbzpage.js")
]
};
@@ -136,4 +136,12 @@ libbz.initialize(libbz.config, function () {
});
});
-tabs.open("https://bugzilla.redhat.com/show_bug.cgi?id=595017");
+pageMod.PageMod({
+ include: [
+ "https://bugzilla.redhat.com/process_bug.cgi"
+ ],
+ contentScriptWhen: 'ready',
+ contentScriptFile: self.data.url("skip-bug.js")
+});
+
+//tabs.open("https://bugzilla.redhat.com/show_bug.cgi?id=595017");