aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-01-03 23:56:19 +0100
committerMatěj Cepl <mcepl@redhat.com>2010-01-03 23:56:19 +0100
commit0cb344d87199ebb59cb7493d65e7a24d2842c50c (patch)
tree66fd02bc68a406cbd755c1946987c84fde833549
parent4c17cc8b3a6f71750b7aeaeb564889511c30c683 (diff)
downloadbugzilla-triage-0cb344d87199ebb59cb7493d65e7a24d2842c50c.tar.gz
Make backtrace parsing working again.
-rw-r--r--bugzillaBugTriage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js
index 8ab3914..d3626e1 100644
--- a/bugzillaBugTriage.js
+++ b/bugzillaBugTriage.js
@@ -141,7 +141,7 @@ loadJSON = function(URL, cb_function) {
}
loadText(URL,function (text) {
- var data = JSON.parse(req.responseText);
+ var data = JSON.parse(text);
cb_function.apply(data,what);
});
};
@@ -1591,7 +1591,7 @@ function BzPage(doc) {
this.addTextToTextBox("comment",this.btSnippet);
this.addTextToTextBox("cf_devel_whiteboard","btparsed");
}
- });
+ },this);
}
},this);
}