]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Backing out bug 387607, you cannot edit attachments anymore!
authorlpsolit%gmail.com <>
Sun, 9 Sep 2007 17:06:52 +0000 (17:06 +0000)
committerlpsolit%gmail.com <>
Sun, 9 Sep 2007 17:06:52 +0000 (17:06 +0000)
template/en/default/attachment/edit.html.tmpl

index 90ce7ce843f5771c911be9049374e6760ed91492..ffa53493d4485893c9f08caa097bb8bd6c44ed73 100644 (file)
@@ -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;
     }