Also add 'redir' hidden field to Replies.

This commit is contained in:
default 2022-12-08 08:04:18 +01:00
parent a1673e6d0c
commit 2dba85ead2

2
html.c
View file

@ -465,6 +465,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5)
"<input type=\"hidden\" name=\"in_reply_to\" value=\"%s\">\n"
"<p><input type=\"checkbox\" name=\"sensitive\"> %s\n"
"<p><input type=\"file\" name=\"attach\">\n"
"<input type=\"hidden\" name=\"redir\" value=\"%s_entry\">\n"
"<p><input type=\"submit\" class=\"button\" value=\"%s\">\n"
"</form><p></div>\n"
"</details><p>"
@ -476,6 +477,7 @@ d_char *html_entry_controls(snac *snac, d_char *os, char *msg, const char *md5)
ct,
id,
L("Sensitive content"),
md5,
L("Post")
);