diff --git a/public/js/forms.js b/public/js/forms.js index 896cbb35..f4e2e042 100644 --- a/public/js/forms.js +++ b/public/js/forms.js @@ -12,7 +12,7 @@ function checkAll(id, checked) { var boxes = obj.getElementsByTagName("input"); for (var i = 0; i < boxes.length; i++) { if (boxes[i].type === "checkbox" && !boxes[i].disabled) { - boxes[i].checked = true; + boxes[i].checked = checked; } } }