mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
fix problem with Safari 16.2 of NOT displaying dialog contents eg. of timer dialog
This commit is contained in:
parent
47243d1706
commit
5fe8f2642a
@ -309,7 +309,11 @@ export class Et2Dialog extends Et2Widget(SlotMixin(SlDialog))
|
|||||||
...super.slots,
|
...super.slots,
|
||||||
'': () =>
|
'': () =>
|
||||||
{
|
{
|
||||||
return this._contentTemplate();
|
// to fix problem with Safari 16.2 of NOT displaying the content, we have to use the following,
|
||||||
|
// instead of just return this._contentTemplate()
|
||||||
|
let div = document.createElement("div");
|
||||||
|
render(this._contentTemplate(), div);
|
||||||
|
return div.children[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user