fix(journals): add type='button' to prevent form submission and migrate to V3 Action API for file downloads

This commit is contained in:
Scott Idem
2026-02-03 22:14:22 -05:00
parent 6abe4c897e
commit 281972cb5d
24 changed files with 104 additions and 132 deletions

View File

@@ -136,7 +136,7 @@
</a>
<!-- <a href="/about" class="btn btn-sm">About</a> -->
<!-- <a href="/settings" class="btn btn-sm">Settings</a> -->
<button
<button type="button"
onclick={() => {
if ($ae_loc.edit_mode) {
// Confirm before clearing
@@ -249,8 +249,7 @@
"
>
<!-- Scroll to top button -->
<button
type="button"
<button type="button"
class="
ae_btn_success_outlined
@@ -291,9 +290,8 @@
<!-- Scroll to the right button -->
<!-- Temporarily hidden until I figure out a better way to do this -->
<button
<button type="button"
class:hidden={1 == 1}
type="button"
class="
ae_btn_success_outlined
@@ -320,8 +318,7 @@
</button>
<!-- Scroll to bottom button -->
<button
type="button"
<button type="button"
class="
ae_btn_success_outlined