Auto-commit local changes before build (2026-01-08 13:31:57)
This commit is contained in:
parent
b8f86c183c
commit
60f6f8e3d6
@ -219,10 +219,15 @@
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
function initAdminAllMailPopup() {
|
||||
var table = document.getElementById('mailAuditTable');
|
||||
var modalEl = document.getElementById('mailMessageModal');
|
||||
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);
|
||||
|
||||
function setText(id, value) {
|
||||
@ -297,6 +302,9 @@
|
||||
if (!id) return;
|
||||
openMessage(id);
|
||||
});
|
||||
}
|
||||
|
||||
document.addEventListener('DOMContentLoaded', initAdminAllMailPopup);
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user