From: reed%reedloden.com <> Date: Fri, 2 Mar 2007 14:56:45 +0000 (+0000) Subject: Bug 371833 - ""Edit attachment as comment" could be twice as fast" [p=bz/reed r=timel... X-Git-Tag: bugzilla-3.0~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cff959cf832f8bd1fabc3f0862c6aeaf8bed8920;p=thirdparty%2Fbugzilla.git Bug 371833 - ""Edit attachment as comment" could be twice as fast" [p=bz/reed r=timeless a=mkanat] --- diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 1dbda953ac..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'); - editFrame.value = theContent; - editFrame.value += "\n\n"; + editFrame.value = theContent + "\n\n"; has_edited = 1; }