From: lpsolit%gmail.com <> Date: Sun, 9 Sep 2007 17:10:16 +0000 (+0000) Subject: Backing out bug 387607: you cannot edit attachments anymore! X-Git-Tag: bugzilla-3.0.2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b2e006f4408eaaf160bff23b9e281ebb04c9b20;p=thirdparty%2Fbugzilla.git Backing out bug 387607: you cannot edit attachments anymore! --- diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 6ac7e44aa9..94581ab564 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -82,8 +82,7 @@ // Copy the contents of the diff into the textarea var editFrame = document.getElementById('editFrame'); - if (editFrame.value.test(/^\s*$/m)) - editFrame.value = theContent + "\n\n"; + editFrame.value = theContent + "\n\n"; has_edited = 1; }