aboutsummaryrefslogtreecommitdiffstats
path: root/data/rhlib
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-05-28 18:02:54 +0200
commitd434a9de9c130590351d82390cabdcd400951978 (patch)
tree1a104770fba8cd77d55cc165c19ae92b6f4e2bda /data/rhlib
parentd8cf2a531e1063e71bcb244e74af5c0fdd7c7a78 (diff)
downloadbugzilla-triage-d434a9de9c130590351d82390cabdcd400951978.tar.gz
Add to the upstreamed bug note about our original bug.
Diffstat (limited to 'data/rhlib')
-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 070737e..d7785dc 100644
--- a/data/rhlib/rhbzpage.js
+++ b/data/rhlib/rhbzpage.js
@@ -181,16 +181,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();
}));
}