From 17cbf8fb0d4a3adef861e20fcfb7ea67f5f07327 Mon Sep 17 00:00:00 2001 From: Guy Pyrzak Date: Thu, 28 Oct 2010 02:38:47 +0200 Subject: [PATCH] Bug 607716: The attachment content is pasted into a comment when editing an attachment with JS disabled r=LpSolit r=mkanat a=LpSolit --- template/en/default/attachment/edit.html.tmpl | 5 +++++ template/en/default/global/textarea.html.tmpl | 1 + 2 files changed, 6 insertions(+) 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('