diff --git a/api/js/etemplate/Et2Widget/Et2Widget.ts b/api/js/etemplate/Et2Widget/Et2Widget.ts index a9a7ae9cb3..085d3d40e9 100644 --- a/api/js/etemplate/Et2Widget/Et2Widget.ts +++ b/api/js/etemplate/Et2Widget/Et2Widget.ts @@ -215,13 +215,14 @@ const Et2WidgetMixin = (superClass) => this.disabled = false; this._handleClick = this._handleClick.bind(this); - this.addEventListener("click", this._handleClick); } connectedCallback() { super.connectedCallback(); + this.addEventListener("click", this._handleClick); + if(this.statustext) { this.egw().tooltipBind(this, this.statustext);