aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-05-28 18:03:47 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-05-28 18:03:47 +0200
commita1f943c59b010450fb16fbfe6760946f0d35f941 (patch)
treeaf540950400d8a079047da563841f8331e7988a4
parent209b8ac5c61553620f51a37f696b6e9407b97736 (diff)
parentd434a9de9c130590351d82390cabdcd400951978 (diff)
downloadbugzilla-triage-a1f943c59b010450fb16fbfe6760946f0d35f941.tar.gz
Merge branch 'upstreaming' into next
-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();
}));
}