aboutsummaryrefslogtreecommitdiffstats
path: root/bugzillaBugTriage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2009-12-28 23:58:58 +0100
committerMatěj Cepl <mcepl@redhat.com>2009-12-28 23:58:58 +0100
commitdde2090daa779a0130797f6b9eddfaecd8cbfd9a (patch)
tree2159181fbf56dd7913e920767fc5f64191810441 /bugzillaBugTriage.js
parentd5070dfe2848a0e47b42a799c9ffd7ec579e364e (diff)
downloadbugzilla-triage-dde2090daa779a0130797f6b9eddfaecd8cbfd9a.tar.gz
Add link to the original Red Hat bug to the Mozilla report.
that missing in the BzPage constructor.
Diffstat (limited to 'bugzillaBugTriage.js')
-rw-r--r--bugzillaBugTriage.js10
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");
}
});
}