mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-30 03:43:40 +01:00
Et2Select: Fix double change event
Caused double submit (which failed) in infolog when you changed type
This commit is contained in:
parent
0188e6df2d
commit
b7258692a4
@ -115,7 +115,6 @@ export class Et2Select extends Et2WithSearchMixin(Et2InvokerMixin(Et2WidgetWithS
|
|||||||
this.getUpdateComplete().then(() =>
|
this.getUpdateComplete().then(() =>
|
||||||
{
|
{
|
||||||
this.addEventListener("sl-clear", this._triggerChange)
|
this.addEventListener("sl-clear", this._triggerChange)
|
||||||
this.addEventListener("sl-select", this._triggerChange);
|
|
||||||
this.addEventListener("sl-change", this._triggerChange);
|
this.addEventListener("sl-change", this._triggerChange);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -125,7 +124,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2InvokerMixin(Et2WidgetWithS
|
|||||||
super.disconnectedCallback();
|
super.disconnectedCallback();
|
||||||
|
|
||||||
this.removeEventListener("sl-clear", this._triggerChange)
|
this.removeEventListener("sl-clear", this._triggerChange)
|
||||||
this.removeEventListener("sl-select", this._triggerChange);
|
this.removeEventListener("sl-change", this._triggerChange);
|
||||||
}
|
}
|
||||||
|
|
||||||
firstUpdated(changedProperties)
|
firstUpdated(changedProperties)
|
||||||
|
Loading…
Reference in New Issue
Block a user