mlanthaler: Bugfix: Variable declaration hided parameter.

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42143 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-16 16:54:20 +00:00
parent d768f72b88
commit 576cc94a81

View File

@ -21,12 +21,13 @@ function hasHadFormError() {
* Returns group with the correct classname
*/
function findIndexOf(group,index) {
var i, group;
var i;
for(i = 0; i < group.length; i++) {
if(group[i].className.indexOf(index) > -1) {
return group[i];
}
}
return null;
}
function clearErrorMessage(holderDiv){