From 1cb96f9b44b42855844576afab248fa9bdfc1c00 Mon Sep 17 00:00:00 2001 From: "dkl%redhat.com" <> Date: Wed, 17 Dec 2008 17:39:02 +0000 Subject: Bug 460909 - Mass edit bug form does not allow adding private comments Patch by Dave Lawrence - r/a=LpSolit --- js/field.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'js') diff --git a/js/field.js b/js/field.js index daa390482..21fda4d5a 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 -- cgit v1.2.3-24-g4f1b