forked from extern/egroupware
If disabling (=hiding) a widget, do its label too
This commit is contained in:
parent
ea104a9af5
commit
8f277e0203
@ -302,7 +302,7 @@ var et2_DOMWidget = et2_widget.extend(et2_IDOMNode,
|
|||||||
},
|
},
|
||||||
|
|
||||||
set_disabled: function(_value) {
|
set_disabled: function(_value) {
|
||||||
var node = this.getDOMNode(this);
|
var node = this._surroundingsMgr != null ? this._surroundingsMgr.getDOMNode(this.getDOMNode(this)) : this.getDOMNode(this);
|
||||||
if (node && this.disabled != _value)
|
if (node && this.disabled != _value)
|
||||||
{
|
{
|
||||||
this.disabled = _value;
|
this.disabled = _value;
|
||||||
|
Loading…
Reference in New Issue
Block a user