mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 05:11:41 +02:00
Et2Dialog: Fix buttons could not be adopted if dialog contains only arbitrary slotted content
This commit is contained in:
parent
3c732b9caf
commit
e4b128408f
@ -1004,7 +1004,7 @@ export class Et2Dialog extends Et2Widget(SlotMixin(SlDialog))
|
||||
|
||||
get _contentNode() : HTMLElement
|
||||
{
|
||||
return this.querySelector('.dialog_content');
|
||||
return this.querySelector('.dialog_content') ?? this.querySelector("*");
|
||||
}
|
||||
|
||||
_setupMoveResize()
|
||||
|
Loading…
x
Reference in New Issue
Block a user