diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-07-16 13:02:51 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-07-16 16:28:08 +0200 |
commit | 641d7c3743be440112952140ca799b6748b261c7 (patch) | |
tree | bd52a73063daa459cace130eea68666eb5e7f6f2 /lib/main.js | |
parent | 3f70ba468a91e0f5abe20034dd50e3c63a6fcb1a (diff) | |
download | bugzilla-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.js | 23 |
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; |