aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-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();
}));
}