Auto-commit local changes before build (2026-01-08 13:31:57)

This commit is contained in:
Ivo Oskamp 2026-01-08 13:31:57 +01:00
parent b8f86c183c
commit 60f6f8e3d6

View File

@ -219,10 +219,15 @@
<script> <script>
(function () { (function () {
function initAdminAllMailPopup() {
var table = document.getElementById('mailAuditTable'); var table = document.getElementById('mailAuditTable');
var modalEl = document.getElementById('mailMessageModal'); var modalEl = document.getElementById('mailMessageModal');
if (!table || !modalEl) return; if (!table || !modalEl) return;
// base.html loads Bootstrap JS after the page content. Initialize after DOMContentLoaded
// so bootstrap.Modal is guaranteed to be available.
if (typeof bootstrap === 'undefined' || !bootstrap.Modal) return;
var modal = new bootstrap.Modal(modalEl); var modal = new bootstrap.Modal(modalEl);
function setText(id, value) { function setText(id, value) {
@ -297,6 +302,9 @@
if (!id) return; if (!id) return;
openMessage(id); openMessage(id);
}); });
}
document.addEventListener('DOMContentLoaded', initAdminAllMailPopup);
})(); })();
</script> </script>