From 6b2e006f4408eaaf160bff23b9e281ebb04c9b20 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 9 Sep 2007 17:10:16 +0000 Subject: [PATCH] Backing out bug 387607: you cannot edit attachments anymore! --- template/en/default/attachment/edit.html.tmpl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.47.2