summaryrefslogtreecommitdiffstats
path: root/js/field.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/field.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