From 33d482951cc12f6a9a1a9a1cd2c499692d7c2a4b Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sat, 28 May 2011 18:02:54 +0200 Subject: Add to the upstreamed bug note about our original bug. --- data/rhlib/rhbzpage.js | 5 +++-- 1 file 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(); })); } -- cgit