Fix: alle funktionalen Inline-Event-Handler → addEventListener/Delegation (von CSP-Härtung 65cfa25 app-weit blockiert)
Chat (senden/öffnen/löschen/Foto), Tagebuch-Buch, KI-Berichte, Wiki-Moderation, Events-Detail, Walks-Lightbox, Routen-Foto, Navigations-CTAs (data-page), Presse-Copy + Züchter-Landing (externes JS). 35x UI.modal.close → data-modal-close, 28x totes event.stopPropagation entfernt. Verbleibend: kosmetische onerror/Hover. SW v1164
This commit is contained in:
parent
152fde716c
commit
2ddd8ac350
34 changed files with 228 additions and 173 deletions
|
|
@ -1113,8 +1113,7 @@ window.Page_diary = (() => {
|
|||
<span class="diary-detail-date-center">${datumLang}</span>
|
||||
<div style="display:flex;align-items:center;gap:4px">
|
||||
${!_appState?.activeDog?.is_guest
|
||||
? `<button id="diary-dv-note" class="btn btn-ghost btn-xs" title="Notiz"
|
||||
onclick="event.stopPropagation()">
|
||||
? `<button id="diary-dv-note" class="btn btn-ghost btn-xs" title="Notiz">
|
||||
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#note-pencil"></use></svg>
|
||||
</button>
|
||||
<button id="diary-dv-edit" class="diary-detail-edit">
|
||||
|
|
@ -1722,7 +1721,7 @@ window.Page_diary = (() => {
|
|||
<div id="import-result" style="display:none;margin-top:var(--space-4)"></div>`,
|
||||
|
||||
footer: `
|
||||
<button class="btn btn-secondary" onclick="UI.modal.close()">Schließen</button>
|
||||
<button class="btn btn-secondary" data-modal-close>Schließen</button>
|
||||
<button class="btn btn-primary" id="import-start-btn">Importieren</button>`,
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue