Skip to content

Commit

Permalink
fix bug with radio and checkbox validation
Browse files Browse the repository at this point in the history
This was introduced with #5738.

The statement was in the wrong line. This fixes a bug where the validation of radios and checkboxes was not recognized in the final validation result.

Now it works great :)
  • Loading branch information
Christian Seel committed Sep 11, 2014
1 parent 18dc1f7 commit 2e25d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/foundation/foundation.abide.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@
}
$(el).triggerHandler('invalid');
}
validations.push(el_validations[0]);
}
validations.push(el_validations[0]);
}
validations = [validations.every(function(valid){return valid;})];
return validations;
Expand Down

0 comments on commit 2e25d95

Please sign in to comment.