mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 10:09:10 +01:00
Et2Dialog changes
- Fire a close event on close - When closing, clear the template (if present)
This commit is contained in:
parent
046599af2f
commit
fefc822d9c
@ -275,6 +275,10 @@ export class Et2Dialog extends Et2Widget(ScopedElementsMixin(SlotMixin(LionDialo
|
||||
this.dispatchEvent(new Event('close'));
|
||||
|
||||
// No real need to do this automatically, dialog could be reused without this
|
||||
if(this._template_widget)
|
||||
{
|
||||
this._template_widget.clear();
|
||||
}
|
||||
this._overlayCtrl.teardown();
|
||||
this.remove();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user