mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +01:00
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.
This commit is contained in:
parent
c2f7073dd4
commit
767e8f5d6a
@ -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…
Reference in New Issue
Block a user