From: lpsolit%gmail.com <> Date: Sun, 9 Sep 2007 17:06:52 +0000 (+0000) Subject: Backing out bug 387607, you cannot edit attachments anymore! X-Git-Tag: bugzilla-3.1.2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8ac9412f27f4d9967b3e38213c08cad01e84e00;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 90ce7ce843..ffa53493d4 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -79,8 +79,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; }