Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Fixed double form submit (in some cases button click events are…

…n't cancelled despite returning FALSE)
  • Loading branch information...
commit b836bce5215dd44715edf796055e0735300b10b1 1 parent c117ef5
@chillu chillu authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  admin/javascript/LeftAndMain.EditForm.js
View
1  admin/javascript/LeftAndMain.EditForm.js
@@ -181,6 +181,7 @@
*/
onclick: function(e) {
$('.cms-content').submitForm(this.parents('form'), this);
+ e.preventDefault();
return false;
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.