summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authordkl%redhat.com <>2008-12-17 18:39:02 +0100
committerdkl%redhat.com <>2008-12-17 18:39:02 +0100
commit1cb96f9b44b42855844576afab248fa9bdfc1c00 (patch)
tree3bc6ec4662ecdff953048a8ef3fcf9a3c22ae642 /js
parentdd9a7df636d0139c8d50084051181cadc1a732ab (diff)
downloadbugzilla-1cb96f9b44b42855844576afab248fa9bdfc1c00.tar.gz
bugzilla-1cb96f9b44b42855844576afab248fa9bdfc1c00.tar.xz
Bug 460909 - Mass edit bug form does not allow adding private comments
Patch by Dave Lawrence <dkl@redhat.com> - r/a=LpSolit
Diffstat (limited to 'js')
-rw-r--r--js/field.js8
1 files changed, 8 insertions, 0 deletions
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