mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
Fix widgets couldn't change statustext once set
This commit is contained in:
parent
daa324e948
commit
66ee3687b6
@ -287,7 +287,6 @@ const Et2WidgetMixin = (superClass) =>
|
||||
{
|
||||
let oldValue = this.__statustext;
|
||||
this.__statustext = value;
|
||||
this.egw().tooltipBind(this, this.__statustext);
|
||||
this.requestUpdate("statustext", oldValue);
|
||||
}
|
||||
|
||||
@ -377,6 +376,14 @@ const Et2WidgetMixin = (superClass) =>
|
||||
{
|
||||
this._set_label(this.label);
|
||||
}
|
||||
if(changedProperties.has("statustext"))
|
||||
{
|
||||
this.egw().tooltipUnbind(this);
|
||||
if(this.statustext)
|
||||
{
|
||||
this.egw().tooltipBind(this, this.statustext);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user