summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-03-20 06:15:02 +0100
committerGravatar default2024-03-20 06:15:02 +0100
commit2f4a881dd27cf05e6512b2781db107213852c3ad (patch)
treec15b41a8e258a3fde2f2cdc825381e6833d99137
parentEditing a post doesn't lose the attachment and its alt text. (diff)
downloadsnac2-2f4a881dd27cf05e6512b2781db107213852c3ad.tar.gz
snac2-2f4a881dd27cf05e6512b2781db107213852c3ad.tar.xz
snac2-2f4a881dd27cf05e6512b2781db107213852c3ad.zip
Added a tip to delete the attachment.
-rw-r--r--html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/html.c b/html.c
index 10557bc..c2098ed 100644
--- a/html.c
+++ b/html.c
@@ -376,6 +376,7 @@ xs_html *html_note(snac *user, char *summary,
376 xs_html_sctag("input", 376 xs_html_sctag("input",
377 xs_html_attr("type", "text"), 377 xs_html_attr("type", "text"),
378 xs_html_attr("name", "attach_url"), 378 xs_html_attr("name", "attach_url"),
379 xs_html_attr("title", L("Clear this field to delete the attachment")),
379 xs_html_attr("value", att_file))); 380 xs_html_attr("value", att_file)));
380 else 381 else
381 xs_html_add(att, 382 xs_html_add(att,