diff options
author | Matěj Cepl <mcepl@redhat.com> | 2009-11-15 23:38:56 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2009-11-15 23:38:56 +0100 |
commit | 16bc245ccedb4a6771bf98ebeed2d0b3ad4b38d2 (patch) | |
tree | 0fc421e3e1e702a360247b42ffe32e7ccd6c4563 /bugzillaBugTriage.js | |
parent | e3935bfbab379993bcfc185e9aa92dafd0b55c1d (diff) | |
download | bugzilla-triage-16bc245ccedb4a6771bf98ebeed2d0b3ad4b38d2.tar.gz |
How to make it work???
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r-- | bugzillaBugTriage.js | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js index 4330a7e..eea33d2 100644 --- a/bugzillaBugTriage.js +++ b/bugzillaBugTriage.js @@ -278,7 +278,7 @@ function bzPage.prototype.parseURL(url) { var ret = {}, seg = a.search.replace(/^\?/,'').split('&'), len = seg.length, i = 0, s; - for (;i<len;i++) { + for (var i=0;i<len;i++) { if (!seg[i]) { continue; } s = seg[i].split('='); ret[s[0]] = s[1]; @@ -1352,12 +1352,8 @@ function bzPage.prototype.buildButtons(above,below) { // https://wiki.mozilla.org/Labs/Jetpack/JEP/17 -- page mods var callback = function(doc) { - jetpack.statusBar.append({ - onReady: function(widget) { - console.log("Boom!"); - curPage = new bzPage(doc); - }, - }); + console.log("BOOOM!"); + var curPage = new bzPage(doc); }; var options = {}; options.matches = [ |