fix: HA-Event-Update URL-Encoding und Popup-Überlappung bei Lösch-Dialog
- HA Update/Delete: UID wird URL-encoded (@ → %40), Delete mit Fallback auf Service-Call API für ältere HA-Versionen - Lösch-Dialog: Event-Popup wird geschlossen BEVOR der Bestätigungsdialog erscheint, kein Überlappen mehr
This commit is contained in:
@@ -1034,9 +1034,9 @@ function showEventPopup(ev, anchor) {
|
||||
};
|
||||
|
||||
document.getElementById('popup-delete').onclick = async () => {
|
||||
popup.classList.add('hidden');
|
||||
const scope = await showDeleteConfirm(ev);
|
||||
if (!scope) return;
|
||||
popup.classList.add('hidden');
|
||||
try {
|
||||
await deleteEventByScope(ev, scope);
|
||||
showToast(t('event_deleted'));
|
||||
|
||||
Reference in New Issue
Block a user