mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 16:19:19 +02:00
- After relink, always close the modal (even if FilePond input not found, e.g. page refreshed by live-reload during the fetch). - After closing, re-fetch #format-fichiers-block via HTMX from /admin/fragments/fichiers.php?_thesis_id=N which loads thesis files from DB and re-renders the fragment with pre-populated FilePond pools. The afterSwap handler auto-reinitializes FilePond instances. - Updated admin/fragments/fichiers.php to accept _thesis_id, load existing files from DB, build per-queue-type JSON, and render in edit mode.
2.4 KiB
2.4 KiB