forked from GithubBackups/vichan
Merge pull request #269 from H0K4/patch-1
Prevents multiple submit/copy when moving a thread/reply.
This commit is contained in:
commit
464d3b4a04
@ -1,4 +1,4 @@
|
|||||||
<form action="?/{{ board }}/move/{{ post }}" method="post">
|
<form action="?/{{ board }}/move/{{ post }}" method="post" onsubmit="btnSubmit.disabled = true; return true;">
|
||||||
<input type="hidden" name="token" value="{{ token }}">
|
<input type="hidden" name="token" value="{{ token }}">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
@ -36,7 +36,7 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<ul style="padding:0;text-align:center;list-style:none">
|
<ul style="padding:0;text-align:center;list-style:none">
|
||||||
<li><input type="submit" value="{% trans 'Move thread' %}"></li>
|
<li><input type="submit" name="btnSubmit" value="{% trans 'Move thread' %}"></li>
|
||||||
</ul>
|
</ul>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<form action="?/{{ board }}/move_reply/{{ post }}" method="post">
|
<form action="?/{{ board }}/move_reply/{{ post }}" method="post" onsubmit="btnSubmit.disabled = true; return true;">
|
||||||
<input type="hidden" name="token" value="{{ token }}">
|
<input type="hidden" name="token" value="{{ token }}">
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
@ -35,7 +35,7 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<ul style="padding:0;text-align:center;list-style:none">
|
<ul style="padding:0;text-align:center;list-style:none">
|
||||||
<li><input type="submit" value="{% trans 'Move reply' %}"></li>
|
<li><input type="submit" name="btnSubmit" value="{% trans 'Move reply' %}"></li>
|
||||||
</ul>
|
</ul>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user