mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
fix TypeError in et2_dialog.handleClose because the Lion container was not found
This commit is contained in:
parent
5a78cfa475
commit
fdad8b3e40
@ -106,16 +106,6 @@ export class et2_dialog extends Et2Dialog
|
||||
}
|
||||
}
|
||||
|
||||
handleClose(ev : PointerEvent)
|
||||
{
|
||||
// revert the moved container back to its original position in order to be able to teardown the overlay properly
|
||||
if(this.appendTo)
|
||||
{
|
||||
document.getElementsByClassName('global-overlays__overlay-container')[0].appendChild(this);
|
||||
}
|
||||
super.handleClose(ev);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
* @returns {any}
|
||||
|
Loading…
Reference in New Issue
Block a user