From 87c62ab69044959d7f62014eb6cb9d7bc959a56d Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sun, 10 Oct 2004 03:39:51 +0000 Subject: 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(-) (limited to 'template/en') diff --git a/template/en/default/bug/comments.html.tmpl b/template/en/default/bug/comments.html.tmpl index 2015d3abd..2f82b46dc 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 7e259283a..2585c6c92 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 %] + /*