From b8ac9412f27f4d9967b3e38213c08cad01e84e00 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 9 Sep 2007 17:06:52 +0000 Subject: Backing out bug 387607, you cannot edit attachments anymore! --- template/en/default/attachment/edit.html.tmpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'template') diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 90ce7ce84..ffa53493d 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; } -- cgit v1.2.1