Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

Commit

Permalink
Merge pull request #323 from jasonwebster/fix_form_submit_state_reset
Browse files Browse the repository at this point in the history
Remove `data-submit-wait` attr from view el when resetting submit state
  • Loading branch information
kpdecker committed Mar 4, 2014
2 parents c42abf7 + c91bf58 commit f0eda1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ function objectAndKeyFromAttributesAndName(attributes, name, options, callback)

function resetSubmitState() {
this.$('form').removeAttr('data-submit-wait');
this.$el.removeAttr('data-submit-wait');
}

function populateOptions(view) {
Expand Down

0 comments on commit f0eda1e

Please sign in to comment.