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