Merge pull request #883 from saimeunt/devel

Fix a bug where the post submit autoform hook wasn't called
This commit is contained in:
Sacha Greif 2015-04-03 09:20:42 +09:00
commit d84cf79c12

View file

@ -2,7 +2,7 @@ AutoForm.hooks({
submitPostForm: {
before: {
submitPost: function(doc) {
method: function(doc) {
this.template.$('button[type=submit]').addClass('loading');