mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-30 22:51:37 +02:00
Make VfsSelect dispatch close event when dialog closes so others can listen for it
This commit is contained in:
@ -108,6 +108,7 @@ export class Et2VfsSelectButton extends Et2InputWidget(LitElement)
|
||||
waitForEvent(this._dialog, "sl-after-show").then(async() =>
|
||||
{
|
||||
this.processDialogComplete(await this._dialog.getComplete());
|
||||
this.dispatchEvent(new Event("close", {bubbles: true}));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user