Browse Source

Prevents double submit when moving a thread.

I probably moved 1000 of threads and if you double click on the submit button it duplicates the moved thread.
main
H0K4 7 years ago
committed by GitHub
parent
commit
767e8f5d6a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/mod/move.html

2
templates/mod/move.html

@ -1,4 +1,4 @@
<form action="?/{{ board }}/move/{{ post }}" method="post">
<form action="?/{{ board }}/move/{{ post }}" method="post" onsubmit="myButton.disabled = true; return true;">
<input type="hidden" name="token" value="{{ token }}">
<table>
<tr>

Loading…
Cancel
Save