From: Guy Pyrzak Date: Thu, 28 Oct 2010 00:38:47 +0000 (+0200) Subject: Bug 607716: The attachment content is pasted into a comment when editing an attachmen... X-Git-Tag: bugzilla-4.0rc1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17cbf8fb0d4a3adef861e20fcfb7ea67f5f07327;p=thirdparty%2Fbugzilla.git Bug 607716: The attachment content is pasted into a comment when editing an attachment with JS disabled r=LpSolit r=mkanat a=LpSolit --- diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index d4dc476310..5d51244cc9 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -200,6 +200,7 @@ minrows = 10 cols = 80 wrap = 'soft' + disabled = 'disabled' defaultcontent = (attachment.contenttype.match('^text\/')) ? attachment.data.replace('(.*\n|.+)', '>$1') : undef %] @@ -220,6 +221,10 @@ document.write('