diff options
-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> |