mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
If widget has onclick attribute, add et2_clickable class
This commit is contained in:
parent
6034702a7c
commit
9d2a319821
@ -394,6 +394,10 @@ const Et2WidgetMixin = <T extends Constructor>(superClass : T) =>
|
|||||||
this.egw().tooltipBind(this, this.statustext);
|
this.egw().tooltipBind(this, this.statustext);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(changedProperties.has("onclick"))
|
||||||
|
{
|
||||||
|
this.classList.toggle("et2_clickable", this.onclick != null && typeof this.onclick != "undefined");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user