diff --git a/api/js/etemplate/Et2Widget/Et2Widget.ts b/api/js/etemplate/Et2Widget/Et2Widget.ts index 5fbe51337d..cf50068617 100644 --- a/api/js/etemplate/Et2Widget/Et2Widget.ts +++ b/api/js/etemplate/Et2Widget/Et2Widget.ts @@ -394,6 +394,10 @@ const Et2WidgetMixin = (superClass : T) => this.egw().tooltipBind(this, this.statustext); } } + if(changedProperties.has("onclick")) + { + this.classList.toggle("et2_clickable", this.onclick != null && typeof this.onclick != "undefined"); + } } /**