fix: Select All button javascript now works in IE

This commit is contained in:
Doug Bell 2007-09-14 19:13:46 +00:00
parent 5105becce9
commit 7042ccda9d
2 changed files with 2 additions and 1 deletions

View file

@ -23,7 +23,7 @@ WebGUI.Form.toggleAllCheckboxesInForm
var oldState = WebGUI.Form.toggleAllCheckboxesState[formElement+checkboxesName]
var state = oldState ? "" : "checked";
for (var i in formElement.elements) {
for (var i = 0; i < formElement.elements.length; i++) {
var input = formElement.elements[i];
if (!/^check/.test(input.type))
continue;