diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/attachment/edit.html.tmpl | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |