aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Fink <sfink@mozilla.com>2011-02-17 13:38:45 -0800
committerSteve Fink <sfink@mozilla.com>2011-02-17 13:38:45 -0800
commitfc0710b2f7cfcf1a549f1451df529cbc8de8b5a1 (patch)
tree2c01dab41ab4fc286f0c8fff5a6922ecf79efe56
parent09842a06c5ff1fa1795877836c21ea928a8a7fcf (diff)
downloadbugzilla-triage-fc0710b2f7cfcf1a549f1451df529cbc8de8b5a1.tar.gz
Apply tweaks to landfill (test) bugzilla installations at bugzilla.org.
-rw-r--r--data/js/urltest.js3
-rw-r--r--lib/main.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/data/js/urltest.js b/data/js/urltest.js
index f6a379a..a0dbabf 100644
--- a/data/js/urltest.js
+++ b/data/js/urltest.js
@@ -1,3 +1,4 @@
function onBugzillaPage(url) {
- return /https:\/\/bugzilla(-[a-zA-Z]+)*\.mozilla\.org/.test(url);
+ return /https:\/\/bugzilla(-[a-zA-Z]+)*\.mozilla\.org/.test(url)
+ || /https:\/\/landfill.*\.bugzilla\.org/.test(url);
} \ No newline at end of file
diff --git a/lib/main.js b/lib/main.js
index bb40d7a..44265ff 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -41,7 +41,7 @@ var self = require("self"),
exports.main = function(options, callback) {
pageMod.PageMod({
- include: ["*.mozilla.org"], // filtered further in the page mod script
+ include: ["*.mozilla.org", "*.bugzilla.org"], // filtered further in the page mod script
contentScriptWhen: 'ready',
contentScriptFile: [self.data.url('js/urltest.js'),
self.data.url('js/bug-page-mod.js')]