aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/write_note_form.php
diff options
context:
space:
mode:
authorwinter2025-01-15 20:33:38 +0000
committerwinter2025-01-15 20:33:38 +0000
commit75b3778dccccddb5cc90b2b4e0a3f958826ad8ba (patch)
tree6240a96338f58b5f175e97132a4ce5d804e3b2da /templates/write_note_form.php
parent07df9da970ceaa54c734d73bdb148fa36d42db63 (diff)
implement home timeline
Diffstat (limited to 'templates/write_note_form.php')
-rw-r--r--templates/write_note_form.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/write_note_form.php b/templates/write_note_form.php
index 9b7c61c..c28dc12 100644
--- a/templates/write_note_form.php
+++ b/templates/write_note_form.php
@@ -1,7 +1,8 @@
-<form action="/todo" method="post" hx-post="/fragment/note" hx-swap="outerHTML" hx-disabled-elt="find button">
+<form action="/todo" method="post" hx-post="/fragment/note" hx-swap="outerHTML" hx-disabled-elt="find button"
+ _="on submit wait 1s then trigger update on #liveTimelineUpdater">
<div class="row">
<label for="noteContent"><?= __('writeNote.label') ?></label>
- <textarea name="content" id="noteContent" required></textarea>
+ <textarea name="content" id="noteContent" required autocomplete="off"></textarea>
</div>
<div class="row">
<button class="primary"><?= __('writeNote.action') ?></button>