Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Submit Buttons are not getting enabled #30

Open
kuldeepaggarwal opened this issue Apr 3, 2016 · 0 comments
Open

Submit Buttons are not getting enabled #30

kuldeepaggarwal opened this issue Apr 3, 2016 · 0 comments

Comments

@kuldeepaggarwal
Copy link
Contributor

Whenever there is an error while creating a form then after receiving response from server, submit buttons are still disabled.

Proposed solution:

$(document).ajaxComplete(function () {
  setTimeout(function() {
    $('[name="commit"]').attr("disabled", false);
  }, 1000)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant