aboutsummaryrefslogtreecommitdiffstats
path: root/data/rhlib/rhbzpage.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-05-28 18:02:54 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-05 14:53:48 +0200
commit33d482951cc12f6a9a1a9a1cd2c499692d7c2a4b (patch)
tree6f01b3f9143de7de0a7523420adae2134fea32f8 /data/rhlib/rhbzpage.js
parentab7607785b1897c0540cb7929947d31ba0a19467 (diff)
downloadbugzilla-triage-33d482951cc12f6a9a1a9a1cd2c499692d7c2a4b.tar.gz
Add to the upstreamed bug note about our original bug.
Diffstat (limited to 'data/rhlib/rhbzpage.js')
-rw-r--r--data/rhlib/rhbzpage.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/data/rhlib/rhbzpage.js b/data/rhlib/rhbzpage.js
index 654e1dc..e255381 100644
--- a/data/rhlib/rhbzpage.js
+++ b/data/rhlib/rhbzpage.js
@@ -183,16 +183,17 @@ function markBadAttachments(atts) {
* @return none
*/
function sendBugUpstream() {
+ var admitMsg = "(originally filed as " + window.location.href + ")\n\n";
var urlStr = filterByRegexp(constantData.newUpstreamBug, getComponent());
if (!urlStr) {
return null;
}
-
+
self.postMessage(new Message("OpenBugUpstream", {
url: urlStr,
subject: document.getElementById("short_desc_nonedit_display").
textContent.trim(),
- comment: collectComments()
+ comment: admitMsg + collectComments();
}));
}