[kronolith] Another Java script error and an undefined offset

Mike Cochrane mike@graftonhall.co.nz
Fri, 6 Sep 2002 21:41:44 +1200


> ----- Message from lists@oak-wood.co.uk ---------
> I'm getting the following JS error (seen in IE6) from
> kronolith/share/members.php (with a query string beginning edit_share).
> The error occurs when selecting a user from the drop down list.
> 
> |
> |    for (var i = 0; members[member][1].length; i++) {
> |      document.members.elements['fields[]'][members[member][1][i]].checked =
> true ;
> |    }
> |
> |}

Thanks.. fixed in CVS.... the for loop is missing a 'i <' in the condition...
how that ever worked in mozilla for me i have no idea :-)

- Mike :-)