aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-07-16 13:02:51 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-07-16 16:28:08 +0200
commit641d7c3743be440112952140ca799b6748b261c7 (patch)
treebd52a73063daa459cace130eea68666eb5e7f6f2 /lib/main.js
parent3f70ba468a91e0f5abe20034dd50e3c63a6fcb1a (diff)
downloadbugzilla-triage-641d7c3743be440112952140ca799b6748b261c7.tar.gz
Bail out if we are not logged in.
Adding our own exception and checking it. Move configuration button to special method of BZPage. A bit of cleanup. Fixes #20 (I hope).
Diffstat (limited to 'lib/main.js')
-rw-r--r--lib/main.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/main.js b/lib/main.js
index 937f237..7524552 100644
--- a/lib/main.js
+++ b/lib/main.js
@@ -34,29 +34,6 @@ var config = {};
config.matches = matchesAll.matches;
config.skipMatches = matchesAll.skipMatches;
})();
-// ==============================================================
-// https://wiki.mozilla.org/Labs/Jetpack/JEP/24
-var WillBemanifest = {
- settings : [
- {
- name : "BZpassword",
- type : "password",
- label : "Bugzilla password"
- },
- {
- name : "JSONURL",
- type : "text",
- label : "Configuration file URL",
- "default" : "http://mcepl.fedorapeople.org/scripts/BugZappers_data.json"
- },
- {
- name : "enabledPacks",
- type : "text",
- label : "comment packs which should be enabled",
- "default" : ""
- }
- ]
-};
function isOurPage(window, matchingURLs) {
var url = window.location.href;