mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Et2Dialog: Fix buttons could not be adopted if dialog contains only arbitrary slotted content
This commit is contained in:
parent
865d2b3d8d
commit
8dee34407e
@ -1022,7 +1022,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…
Reference in New Issue
Block a user