diff options
author | Byron Jones <bjones@mozilla.com> | 2011-12-08 07:17:21 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2011-12-08 07:17:21 +0100 |
commit | 720db163b9814b294b163347d994e513b8771ae7 (patch) | |
tree | 78dd845c2b91c68b29afab611c483882da626969 /template/en/default/bug/comments.html.tmpl | |
parent | af86419d74b0050ea590dede8da6587c75a67f16 (diff) | |
download | bugzilla-720db163b9814b294b163347d994e513b8771ae7.tar.gz bugzilla-720db163b9814b294b163347d994e513b8771ae7.tar.xz |
Bug 707931: fix broken backport
Diffstat (limited to 'template/en/default/bug/comments.html.tmpl')
-rw-r--r-- | template/en/default/bug/comments.html.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index a6a2867bb..ea0b774c0 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -47,6 +47,9 @@ } [% END %] + /* Remove embedded links to attachment details */ + replytext = replytext.replace(/(attachment\s+\d+)(\s+\[[^\[]+\])+/gi, '$1'); + /* <textarea id="comment"> */ var textarea = document.getElementById('comment'); textarea.value += replytext; |