aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bzpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bzpage.js')
-rw-r--r--lib/bzpage.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js
index b8c38b8..94689ce 100644
--- a/lib/bzpage.js
+++ b/lib/bzpage.js
@@ -150,9 +150,9 @@ BZPage.prototype.getRealBugNo = function () {
// https://bugzilla.redhat.com/show_bug.cgi?ctype=xml&id=serialWacom
Request({
url: this.win.location.href+"&ctype=xml",
- onComplete: function() {
- if (this.response.status === 200) {
- var xmlRepr = this.response.xml;
+ onComplete: function(response) {
+ if (response.status === 200) {
+ var xmlRepr = response.xml;
var bugID = parseInt(xmlRepr.getElementsByTagName("bug_id")[0].textContent, 10);
if (isNaN(bugID)) {
throw new Error("Cannot get bug no. even from XML representation!");