summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-09-09 19:06:52 +0200
committerlpsolit%gmail.com <>2007-09-09 19:06:52 +0200
commitb8ac9412f27f4d9967b3e38213c08cad01e84e00 (patch)
tree7e2d07771ed9a0b00e3bf0f8b45bdb7b1692c142 /template/en/default
parentfa7d0b9e6c889b910e3c0d22413a1d92195634e7 (diff)
downloadbugzilla-b8ac9412f27f4d9967b3e38213c08cad01e84e00.tar.gz
bugzilla-b8ac9412f27f4d9967b3e38213c08cad01e84e00.tar.xz
Backing out bug 387607, you cannot edit attachments anymore!
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/attachment/edit.html.tmpl3
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;
}