mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
Add missing set_disabled() method
This commit is contained in:
parent
3c7da204c5
commit
442de20d90
@ -186,6 +186,16 @@ const Et2WidgetMixin = (superClass) =>
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrapper on this.disabled because legacy had it.
|
||||
*
|
||||
* @param {boolean} value
|
||||
*/
|
||||
set_disabled(value : boolean)
|
||||
{
|
||||
this.disabled = value;
|
||||
}
|
||||
|
||||
set label(value : string)
|
||||
{
|
||||
let oldValue = this.label;
|
||||
@ -669,7 +679,7 @@ const Et2WidgetMixin = (superClass) =>
|
||||
|
||||
let widget_class = window.customElements.get(this.nodeName);
|
||||
let properties = widget_class ? widget_class.properties() : {};
|
||||
|
||||
|
||||
if(_parent)
|
||||
{
|
||||
copy.setParent(_parent);
|
||||
|
Loading…
Reference in New Issue
Block a user