jzaefferer/jquery-validation — pull request #233 by razola (2011-10-17 17:07:42+00:00)
Title: Pass submit event to submitHandler callback

To call return false in the submitHandler callback to cancel the form submit didn't do it for my use-case. I have a lot of things going on after a cancelled submit so instead I passed the actual submit event to the callback in order to at the top do event.preventDefault();

submitHandler: function(form, event) {
event.preventDefault();
…
…
}