mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #01295
[Bug 568140] Re: Prevent duplicate forum posts when double-clicking
If I disable javascript, I can hit the Post button multiple times.
Javascript already exists to prevent this.
So we're instead looking at a server side alternative.
We could try selecting any forum posts with the same poster, subject and body posted within a reasonable time frame (1 second will probably suffice). If they exist, don't add the new post.
However, this does seem a little ungraceful. Should we, for example,
offer any error message?
--
Prevent duplicate forum posts when double-clicking
https://bugs.launchpad.net/bugs/568140
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Status in Mahara ePortfolio: Confirmed
Bug description:
Some people seem to submit their posts twice when they post something to the forums. My guess is that they accidentally double-click the submit button.
We should be able to detect this and prevent the double posts either server-side (ideally) or at the very least in Javascript directly in the browser.
References