From: dkl%redhat.com <> Date: Wed, 17 Dec 2008 17:39:02 +0000 (+0000) Subject: Bug 460909 - Mass edit bug form does not allow adding private comments X-Git-Tag: bugzilla-3.3.1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cb96f9b44b42855844576afab248fa9bdfc1c00;p=thirdparty%2Fbugzilla.git Bug 460909 - Mass edit bug form does not allow adding private comments Patch by Dave Lawrence - r/a=LpSolit --- diff --git a/js/field.js b/js/field.js index daa3904825..21fda4d5a3 100644 --- a/js/field.js +++ b/js/field.js @@ -324,6 +324,14 @@ function boldOnChange(e, field_id){ } } +function updateCommentTagControl(checkbox, form) { + if (checkbox.checked) { + form.comment.className='bz_private'; + } else { + form.comment.className=''; + } +} + /** * Says that a field should only be displayed when another field has * a certain value. May only be called after the controller has already diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index ff621173fb..73efa0b6cf 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -136,14 +136,6 @@ [% END %] - function updateCommentTagControl(checkbox, form) { - if (checkbox.checked) { - form.comment.className='bz_private'; - } else { - form.comment.className=''; - } - } - //--> diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl index 190628fa9d..d49709dbcf 100644 --- a/template/en/default/list/edit-multiple.html.tmpl +++ b/template/en/default/list/edit-multiple.html.tmpl @@ -256,7 +256,14 @@ -
+ +[% IF user.is_insider %] + + +[% END %] +
[% INCLUDE global/textarea.html.tmpl name = 'comment' id = 'comment'