Merge pull request #784 from patbolo/bugfix/7856

FIX 7856
This commit is contained in:
Ingo Schommer 2012-09-12 02:58:21 -07:00
commit 2939632778

View File

@ -81,6 +81,10 @@
// default to first button // default to first button
var button = this.find(':submit:first'); var button = this.find(':submit:first');
if (button.is(':disabled')){
e.preventDefault();
return;
}
button.addClass('loading'); button.addClass('loading');
// collect data and submit the form // collect data and submit the form