diff options
author | msquare <msquare@notrademark.de> | 2016-08-21 20:15:52 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-08-21 20:15:52 +0200 |
commit | 7e887d4c909d5d7a3a261ba0dfeee3f65db6e4b8 (patch) | |
tree | 13343545e19033209026491b9f7ed736cb2101e5 /public/js | |
parent | 191328d7034a229901cac4af1240ab1885713129 (diff) |
fix checkAll bug
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/forms.js | 2 |
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; } } } |