aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/bottom.html1
-rw-r--r--static/top.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/static/bottom.html b/static/bottom.html
index 28750c8..db9606d 100644
--- a/static/bottom.html
+++ b/static/bottom.html
@@ -11,6 +11,7 @@
<input type="hidden" id="sendTo" name="sendTo" value="{{ .Board.To }}">
<input type="hidden" id="boardName" name="boardName" value="{{ .Board.Name }}">
<input type="hidden" id="captchaCode" name="captchaCode" value="{{ .Board.CaptchaCode }}">
+ <input type="hidden" id="returnTo" name="returnTo" value="{{ .ReturnTo }}">
<input type="checkbox" name="sensitive"><span>Mark attachment as sensitive</span><br><br>
<div style="width: 202px; margin: 0 auto; padding-top: 12px;">
<label for="captcha">Captcha:</label><br>
diff --git a/static/top.html b/static/top.html
index e2612e8..e55ce89 100644
--- a/static/top.html
+++ b/static/top.html
@@ -24,6 +24,7 @@
<input type="hidden" id="sendTo" name="sendTo" value="{{ .Board.To }}">
<input type="hidden" id="boardName" name="boardName" value="{{ .Board.Name }}">
<input type="hidden" id="captchaCode" name="captchaCode" value="{{ .Board.CaptchaCode }}">
+ <input type="hidden" id="returnTo" name="returnTo" value="{{ .ReturnTo }}">
<input type="file" id="file" name="file" {{ if gt $len 1 }} required {{ else }} {{ if eq $len 0 }} required {{ end }} {{ end }} ><br><br>
<input type="checkbox" name="sensitive"><span>Mark attachment as sensitive</span><br><br>
<label stye="display: inline-block;" for="captcha">Captcha:</label>