diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-07-28 23:46:51 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-07-29 02:22:12 +0200 |
commit | fe64972133d1fdc55515b5473638dace774ea69e (patch) | |
tree | c7f4ffe140d61558e84bdb77b46dca4a100a1025 | |
parent | a8b165e517794a58ba3e2382668666422233a0dc (diff) | |
download | bugzilla-triage-fe64972133d1fdc55515b5473638dace774ea69e.tar.gz |
Another in the series "I've asked for the strict checking, and I've got
one" ;)
-rw-r--r-- | lib/rhbzpage.js | 10 | ||||
-rw-r--r-- | update.rdf | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lib/rhbzpage.js b/lib/rhbzpage.js index f19d13b..e858145 100644 --- a/lib/rhbzpage.js +++ b/lib/rhbzpage.js @@ -99,7 +99,7 @@ var RHBugzillaPage = function RHBugzillaPage(win, config) { this.setDefaultAssignee(); } - // Dig out backtrace + // Dig out backtrace protection against double-firing? this.btSnippet = ""; var parseAbrtBacktraces = config.gJSONData.configData.parseAbrtBacktraces; @@ -287,8 +287,10 @@ RHBugzillaPage.prototype.pasteBacktraceInComments = function() { // just the first one will do for now, we would need to do async // parsing btAttachments.forEach(function(x) { - attURL = "https://bugzilla.redhat.com/attachment.cgi?id=" + var attURL = "https://bugzilla.redhat.com/attachment.cgi?id=" + x[1]; + console.log("attURL = " + attURL); + console.log("this.btSnippet = " + this.btSnippet); if (!this.btSnippet) { var that = this; Request({ @@ -667,12 +669,12 @@ RHBugzillaPage.prototype.analyzeXorgLog = function analyzeXorgLog(attachID) { // doc.body.style.cursor = "wait"; var preElem = doc.getElementById("textPre"); - attURL = "https://bugzilla.redhat.com/attachment.cgi?id=" + attachID; + var attURL = "https://bugzilla.redhat.com/attachment.cgi?id=" + attachID; var that = this; Request({ url: attURL, onComplete: function() { - if (this.response.status == 200) { + if (this.response.status == 200) { var results = this.response.text.split("\n"). filter(function(line) { return (that.RE.soughtLines.test(line)); @@ -40,7 +40,7 @@ <!-- A page describing what is new in this updated version --> <em:updateInfoURL>https://fedorahosted.org/bugzilla-triage-scripts/wiki/ChangeLog</em:updateInfoURL> - <em:updateHash>39962d2eac5080221caf94da94ab6458b40ce2c4</em:updateHash> + <em:updateHash>2f4829a38b164472986a8aac3cbb49282005b5aa/em:updateHash> </RDF:Description> </RDF:li> </RDF:Seq> |