forked from extern/egroupware
Fix index templates had nextmatch row nodes below the nextmatch
This commit is contained in:
parent
b47a3dd11b
commit
76ad419420
@ -285,7 +285,16 @@ export abstract class et2_DOMWidget extends et2_widget implements et2_IDOMNode
|
||||
// _node is actually a Web Component
|
||||
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