From 1b92dd7a88b5881f1d515fccdd681f85509e6703 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" Date: Sat, 9 Oct 2004 20:39:51 +0000 Subject: [PATCH] Patch for bug 257765: Make replies to private comments private by default; patch by Marc Schumann , r=kiko, a=justdave. git-svn-id: svn://10.0.0.236/trunk@163484 18797224-902f-48f8-a5cc-f745e15eee43 --- .../bugzilla/template/en/default/bug/comments.html.tmpl | 1 + .../bugzilla/template/en/default/bug/edit.html.tmpl | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/template/en/default/bug/comments.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/bug/comments.html.tmpl index 2015d3abd4d..2f82b46dc73 100644 --- a/mozilla/webtools/bugzilla/template/en/default/bug/comments.html.tmpl +++ b/mozilla/webtools/bugzilla/template/en/default/bug/comments.html.tmpl @@ -68,6 +68,7 @@ value="[% comment.isprivate %]"> Private [% END %] diff --git a/mozilla/webtools/bugzilla/template/en/default/bug/edit.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/bug/edit.html.tmpl index 7e259283a20..2585c6c924e 100644 --- a/mozilla/webtools/bugzilla/template/en/default/bug/edit.html.tmpl +++ b/mozilla/webtools/bugzilla/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 %] + /*