From: reed%reedloden.com <> Date: Fri, 2 Mar 2007 14:55:39 +0000 (+0000) Subject: Bug 371833 - ""Edit attachment as comment" could be twice as fast" [p=bz/reed r=timel... X-Git-Tag: bugzilla-3.1.2~323 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=439851b43d129eaa04b2d29438956db8add6de30;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; }