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

NewModMailPro: Fix message sending errors on FF #389

Merged
merged 1 commit into from
Oct 6, 2020
Merged

NewModMailPro: Fix message sending errors on FF #389

merged 1 commit into from
Oct 6, 2020

Conversation

molenzwiebel
Copy link
Contributor

Without including cancelable: false, Firefox will invoke the normal form submission logic for the form. Since React manages the content of the fields, it ends up submitting an empty message, which reddit doesn't like.

This solution works on both FF and Chrome. A mod of mine has been testing it for a few days now and has not encountered any issues yet.

Without including `cancelable: false`, Firefox will invoke the normal form submission logic for the form. Since React manages the content of the fields, it ends up submitting an empty message, which reddit doesn't like.
@Venefilyn Venefilyn requested a review from creesch October 6, 2020 13:03
@creesch creesch merged commit 48212c7 into toolbox-team:master Oct 6, 2020
eritbh added a commit that referenced this pull request Oct 6, 2020
@eritbh eritbh added this to the v5.4.3 milestone Oct 19, 2020
eritbh pushed a commit that referenced this pull request Sep 5, 2024
Without including `cancelable: false`, Firefox will invoke the normal form submission logic for the form. Since React manages the content of the fields, it ends up submitting an empty message, which reddit doesn't like.
eritbh added a commit that referenced this pull request Sep 5, 2024
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.

3 participants