Homec4science

Multiple comment submissions for a diff is prevented now.

Authored by tuomaspelkonen <tuomaspelkonen@fb.com> on May 23 2011, 23:33.

Description

Multiple comment submissions for a diff is prevented now.

Summary:
It was possible to submit a comment multiple times if the submit
button was pressed more than once quickly. Added javascript code
that disables the button when it is clicked.

Test Plan:
Tried to click the button multiple times very quickly, but the
button was disabled after the first click.

Reviewed By: epriestley
Reviewers: epriestley, jungejason
Commenters: aran
CC: aran, epriestley, tuomaspelkonen
Differential Revision: 337

Details

Event Timeline

tuomaspelkonen <tuomaspelkonen@fb.com> committed rPHd21a056f1c75: Multiple comment submissions for a diff is prevented now. (authored by tuomaspelkonen <tuomaspelkonen@fb.com>).May 25 2011, 21:14