diff --git a/api/js/etemplate/Et2Dialog/Et2Dialog.ts b/api/js/etemplate/Et2Dialog/Et2Dialog.ts index d4e4ef4c92..86d5e3bb2a 100644 --- a/api/js/etemplate/Et2Dialog/Et2Dialog.ts +++ b/api/js/etemplate/Et2Dialog/Et2Dialog.ts @@ -1342,7 +1342,7 @@ export class Et2Dialog extends Et2Widget(SlotMixin(SlDialog)) isModal: true, buttons: buttons }); - dialog.egw().window.document.body.appendChild(dialog); + document.body.appendChild(dialog); let log = null; let progressbar = null;