diff options
-rw-r--r-- | bugzillaBugTriage.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/bugzillaBugTriage.js b/bugzillaBugTriage.js index 1c1d16f..43c27b5 100644 --- a/bugzillaBugTriage.js +++ b/bugzillaBugTriage.js @@ -858,6 +858,8 @@ BzPage.prototype.sendBugUpstream = function() { var text = this.dok.getElementById("short_desc_nonedit_display"). textContent.trim() + "\n\n"; + text += "(Originally filed as https://bugzilla.redhat.com/show_bug.cgi?id=" + + this.bugNo + ")\n\n"; text += this.collectComments(); jetpack.clipboard.set(text); var ret = jetpack.tabs.open(url); @@ -1525,10 +1527,10 @@ function BzPage(doc) { console.log("btSnippet = " + this.btSnippet); if (!this.btSnippet) { var btRaw = $.get(attURL,function (ret) { - this.btSnippet = this.parseBacktrace(ret); - if (this.btSnippet) { - this.addTextToTextBox("comment",this.btSnippet); - this.addTextToTextBox("cf_devel_whiteboard","btparsed"); + that.btSnippet = that.parseBacktrace(ret); + if (that.btSnippet) { + that.addTextToTextBox("comment",that.btSnippet); + that.addTextToTextBox("cf_devel_whiteboard","btparsed"); } }); } |