mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
d768f72b88
commit
576cc94a81
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user