summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-08-21 20:15:52 +0200
committermsquare <msquare@notrademark.de>2016-08-21 20:15:52 +0200
commit7e887d4c909d5d7a3a261ba0dfeee3f65db6e4b8 (patch)
tree13343545e19033209026491b9f7ed736cb2101e5
parent191328d7034a229901cac4af1240ab1885713129 (diff)
fix checkAll bug
-rw-r--r--public/js/forms.js2
1 files changed, 1 insertions, 1 deletions
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;
}
}
}