Et2Dialog: Fix "Uncaught DOMException: Failed to set the 'adoptedStyleSheets' property on 'ShadowRoot': Sharing constructed stylesheets in multiple documents is not allowed" in long_task

No idea what was happening there or why
This commit is contained in:
nathan 2024-04-16 08:49:49 -06:00
parent 3d27a7abb4
commit 4d31227b43

View File

@ -1342,7 +1342,7 @@ export class Et2Dialog extends Et2Widget(SlotMixin(SlDialog))
isModal: true,
buttons: buttons
});
dialog.egw().window.document.body.appendChild(<LitElement><unknown>dialog);
document.body.appendChild(<LitElement><unknown>dialog);
let log = null;
let progressbar = null;