mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Api: Fix disabled not being correctly set
This commit is contained in:
parent
49cac615d7
commit
12120b5434
@ -69,13 +69,13 @@ const Et2WidgetMixin = (superClass) =>
|
||||
private _children : (et2_widget | Et2WidgetClass)[] = [];
|
||||
|
||||
/**
|
||||
* Properties - default values, and actually creating them as fields
|
||||
* Internal Properties - default values, and actually creating them as fields
|
||||
* Do not include public property defined in properties()
|
||||
*/
|
||||
protected _widget_id : string = "";
|
||||
protected _dom_id : string = "";
|
||||
protected _label : string = "";
|
||||
private statustext : string = "";
|
||||
protected disabled : boolean = false;
|
||||
|
||||
|
||||
/** WebComponent **/
|
||||
@ -1197,7 +1197,7 @@ function transformAttributes(widget, mgr : et2_arrayMgr, attributes)
|
||||
break;
|
||||
}
|
||||
|
||||
// Set as attribute or property, as appropriate
|
||||
// Set as attribute or property, as appropriate. Don't set missing attributes.
|
||||
if(widget.getAttributeNames().indexOf(attribute) >= 0 || property.reflect && attrValue)
|
||||
{
|
||||
// Set as attribute (reflected in DOM)
|
||||
|
Loading…
Reference in New Issue
Block a user