MINOR Fixed double form submit (in some cases button click events aren't cancelled despite returning FALSE)

This commit is contained in:
Ingo Schommer 2012-03-08 18:21:13 +01:00
parent c117ef58cf
commit b836bce521

View File

@ -181,6 +181,7 @@
*/ */
onclick: function(e) { onclick: function(e) {
$('.cms-content').submitForm(this.parents('form'), this); $('.cms-content').submitForm(this.parents('form'), this);
e.preventDefault();
return false; return false;
} }
}); });