mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 15:18:58 +01:00
Fix readonly webcomponents inside a legacy widget were not loaded as readonly
This commit is contained in:
parent
fa707f0627
commit
602ac44c15
@ -803,6 +803,10 @@ export class et2_widget extends ClassWithAttributes
|
||||
}
|
||||
else
|
||||
{
|
||||
if(readonly === true && typeof window.customElements.get(_nodeName + "_ro") != "undefined")
|
||||
{
|
||||
_nodeName += "_ro";
|
||||
}
|
||||
widget = loadWebComponent(_nodeName, _node, this);
|
||||
}
|
||||
return widget;
|
||||
|
Loading…
Reference in New Issue
Block a user