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

@ -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

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;