]> 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:10:16 +0000 (17:10 +0000)
committerlpsolit%gmail.com <>
Sun, 9 Sep 2007 17:10:16 +0000 (17:10 +0000)
template/en/default/attachment/edit.html.tmpl

index 6ac7e44aa931086c324dc311d29118626c47884a..94581ab564b40c72f3d15bd9beeab0ec4f519d10 100644 (file)
@@ -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;
     }