From: jocuri%softhome.net <> Date: Sun, 10 Oct 2004 03:39:51 +0000 (+0000) Subject: Patch for bug 257765: Make replies to private comments private by default; patch... X-Git-Tag: bugzilla-2.19.1~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87c62ab69044959d7f62014eb6cb9d7bc959a56d;p=thirdparty%2Fbugzilla.git Patch for bug 257765: Make replies to private comments private by default; patch by Marc Schumann , r=kiko, a=justdave. --- diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 2015d3abd4..2f82b46dc7 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -68,6 +68,7 @@ value="[% comment.isprivate %]"> Private [% END %] diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 7e259283a2..2585c6c924 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -52,6 +52,12 @@ replytext = "(In reply to comment #" + id + ")\n" + replytext + "\n"; + [% IF Param("insidergroup") && UserInGroup(Param("insidergroup")) %] + if (document.getElementById('isprivate-'+id).checked) { + document.getElementById('newcommentprivacy').checked = 'checked'; + } + [% END %] + /*