From d434a9de9c130590351d82390cabdcd400951978 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(-) (limited to 'data/rhlib') 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(); })); } -- cgit