From c9eb9340e1fd51cce4156a975ab49b8455c3542f Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sun, 10 Oct 2004 03:39:20 +0000 Subject: [PATCH] Patch for bug 257765: Make replies to private comments private by default; patch by Marc Schumann , r=kiko, a=justdave. --- template/en/default/bug/comments.html.tmpl | 1 + template/en/default/bug/edit.html.tmpl | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 %] + /*