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 b2e1cef233
commit 1393fb6921

View File

@ -542,8 +542,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);