From: jocuri%softhome.net <> Date: Sun, 10 Oct 2004 03:39:20 +0000 (+0000) Subject: Patch for bug 257765: Make replies to private comments private by default; patch... X-Git-Tag: bugzilla-2.18rc3~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9eb9340e1fd51cce4156a975ab49b8455c3542f;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 a2ef46a8af..160d828108 100644 --- a/template/en/default/bug/comments.html.tmpl +++ b/template/en/default/bug/comments.html.tmpl @@ -67,6 +67,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 f775c51354..60ee703107 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 %] + /*