diff --git a/api/js/etemplate/et2_widget_dialog.ts b/api/js/etemplate/et2_widget_dialog.ts index 61c0aa1231..b35f9be625 100644 --- a/api/js/etemplate/et2_widget_dialog.ts +++ b/api/js/etemplate/et2_widget_dialog.ts @@ -95,9 +95,9 @@ export class et2_dialog extends Et2Dialog return super._getButtons(); } - handleOpen() + handleOpen(event : CustomEvent) { - super.handleOpen(); + super.handleOpen(event); // move the overlay dialog into appendTo dom since we want it to be shown in that container if(this.appendTo)