From 178eb04938393f06f60ee1a21df5d2a955c93634 Mon Sep 17 00:00:00 2001 From: Guy Pyrzak Date: Thu, 28 Oct 2010 02:35:16 +0200 Subject: 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 676f374e6..f124df43f 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -180,6 +180,7 @@ minrows = 10 cols = 80 wrap = 'soft' + disabled = 'disabled' defaultcontent = (attachment.contenttype.match('^text\/')) ? attachment.data.replace('(.*\n|.+)', '>$1') : undef %] @@ -217,6 +218,10 @@ document.write('