mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
Fix index templates had nextmatch row nodes below the nextmatch
This commit is contained in:
parent
b47a3dd11b
commit
76ad419420
@ -283,9 +283,18 @@ export abstract class et2_DOMWidget extends et2_widget implements et2_IDOMNode
|
||||
}
|
||||
}
|
||||
// _node is actually a Web Component
|
||||
else if (_node instanceof Element )
|
||||
else if(_node instanceof Element)
|
||||
{
|
||||
this.getDOMNode().append(_node);
|
||||
if(this.getDOMNode(_node))
|
||||
{
|
||||
this.getDOMNode(_node).append(_node);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Warn about it. This slows down loading, as it requires a second pass (loadingFinished) to get the child
|
||||
// properly added.
|
||||
console.warn("Legacy widget " + this.getType() + "[#" + this.options.id + "] could not handle adding a child. ")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user