diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 26cd0b3b1..e3815f959 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -4,6 +4,7 @@ - fix: crash bug in if modified cache checking - rfe: Change URL of "news" layout to be something else. - add type variable to Data Form record loop + - fix: Select All button javascript would not work in IE 7.4.6 diff --git a/www/extras/yui-webgui/build/form/form.js b/www/extras/yui-webgui/build/form/form.js index eb4f3c7e0..ff32a4683 100644 --- a/www/extras/yui-webgui/build/form/form.js +++ b/www/extras/yui-webgui/build/form/form.js @@ -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;