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

FIX (partial) for #3181 where non-submit buttons are being activated on "enter" key press. #4651

Closed

Conversation

patricknelson
Copy link
Contributor

This issue (and fix for #3181) relates to CMS issue at silverstripe/silverstripe-cms#1288 and associated pull request: silverstripe/silverstripe-cms#1290

PLEASE NOTE: This is a combined fix across both repositories and ensures that all non-submit buttons are defined explicitly as type button to ensure browsers will not automatically register the first occurrence after someone presses the enter key.

@tractorcow
Copy link
Contributor

This is a good fix, but we would prefer to merge this into the 3 rather than 3.1 branch. 3.1 branch should not be receiving anything other than fixes to critical issues. Any non-critical (e.g. quality of life improvements) should be either 3.2 or 3 branches. Similarly to 3.1, 3.2 is nearing stable release, and we don't want to introduce any bugfixes there that aren't strictly necessary.

Could you please re-open this there for cms and framework pull requests?

@patricknelson
Copy link
Contributor Author

Sure.

@patricknelson
Copy link
Contributor Author

Ok -- new PR here: #4662

Trying to keep organized in this tangled mess of PR's :) Links and etc are updated.

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.

None yet

2 participants