diff --git a/api/js/etemplate/et2_widget_dialog.ts b/api/js/etemplate/et2_widget_dialog.ts index b35f9be625..7fdf721b6e 100644 --- a/api/js/etemplate/et2_widget_dialog.ts +++ b/api/js/etemplate/et2_widget_dialog.ts @@ -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}