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

Prevent the "Post a question" button from being clicked more than once to avoid multiposting #125

Open
Calinou opened this issue Oct 16, 2020 · 1 comment

Comments

@Calinou
Copy link

Calinou commented Oct 16, 2020

Using some JavaScript code, we should disable the "Post a question" button once it's been clicked once. This would prevent users from posting the same question twice because they double-clicked the button. This is an issue we regularly encounter on the Godot Q&A. It's probably best fixed in the theme since this is mainly about client-side interaction, although a server-side check could also be added in Q2A itself.

I can work on implementing this feature if this is desired.

@Calinou Calinou changed the title Prevent the "Post a question" button from being clicked more than once Prevent the "Post a question" button from being clicked more than once to avoid multiposting Oct 16, 2020
@amiyasahu
Copy link
Owner

This sounds like a good idea. It can be implemented using JQuery to disable the button once licked.

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

2 participants