Et2Dialog: Fix dialog open event was fired if a selectbox opened

Fixes flickering field in Collabora insert address dialog
This commit is contained in:
nathan 2023-08-03 14:39:47 -06:00
parent 9a121c2508
commit ef910b246a

View File

@ -525,8 +525,13 @@ export class Et2Dialog extends Et2Widget(SlotMixin(SlDialog))
return this._complete_promise;
}
handleOpen()
handleOpen(event)
{
if(event.target !== this)
{
return;
}
this.addOpenListeners();
this._button_id = null;
this._complete_promise = this._complete_promise || new Promise<[number, Object]>((resolve) => this._completeResolver);