aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2009-11-15 23:38:56 +0100
committerMatěj Cepl <mcepl@redhat.com>2009-11-15 23:38:56 +0100
commit16bc245ccedb4a6771bf98ebeed2d0b3ad4b38d2 (patch)
tree0fc421e3e1e702a360247b42ffe32e7ccd6c4563
parente3935bfbab379993bcfc185e9aa92dafd0b55c1d (diff)
downloadbugzilla-triage-16bc245ccedb4a6771bf98ebeed2d0b3ad4b38d2.tar.gz
How to make it work???
-rw-r--r--bugzillaBugTriage.js10
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 = [