Fix: UI.modal.open() statt UI.modal() im Outreach-Log, SW by-v586
This commit is contained in:
parent
775cda9a67
commit
fb7bbe5ccc
3 changed files with 4 additions and 4 deletions
|
|
@ -2156,7 +2156,7 @@ window.Page_admin = (() => {
|
|||
row.addEventListener('click', () => {
|
||||
const l = log[Number(row.dataset.logIdx)];
|
||||
if (!l) return;
|
||||
UI.modal({
|
||||
UI.modal.open({
|
||||
title: _esc(l.subject),
|
||||
body: `
|
||||
<div style="margin-bottom:var(--space-3);font-size:var(--text-sm);color:var(--c-text-muted)">
|
||||
|
|
@ -2168,7 +2168,7 @@ window.Page_admin = (() => {
|
|||
background:var(--c-surface-2);border-radius:var(--radius-md);
|
||||
padding:var(--space-3);max-height:60vh;overflow-y:auto;
|
||||
color:var(--c-text)">${_esc(l.body || '(kein Text gespeichert)')}</pre>`,
|
||||
footer: `<button class="btn btn-secondary" onclick="UI.closeModal()">Schließen</button>`,
|
||||
footer: `<button class="btn btn-secondary" onclick="UI.modal.close()">Schließen</button>`,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue