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

Install amp-form CSS and cleanup previous renders during submission #3703

Merged
merged 2 commits into from
Jun 22, 2016

Conversation

mkhatib
Copy link
Contributor

@mkhatib mkhatib commented Jun 21, 2016

Closes #3587

ITI: #3343

button.setAttribute('disabled', '');
} else {
button.removeAttribute('disabled');
}
});

if (newState == FormState_.SUBMITTING) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this'd be more appropriate before setting the state to submitting (before calling #setState)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@mkhatib
Copy link
Contributor Author

mkhatib commented Jun 22, 2016

PTAL

@jridgewell
Copy link
Contributor

LGTM.

@mkhatib mkhatib merged commit a031c8e into ampproject:master Jun 22, 2016
@mkhatib mkhatib deleted the forms-fixes branch June 22, 2016 18:47
@mkhatib mkhatib added LGTM and removed NEEDS REVIEW labels Jun 22, 2016
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

Successfully merging this pull request may close these issues.

2 participants