mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 10:51:38 +01:00
Hopefully fix some out-of-order children when the first child of a box is a legacy widget
This commit is contained in:
parent
d68b8fdfe4
commit
44fcd07f6b
@ -238,7 +238,7 @@ export abstract class et2_DOMWidget extends et2_widget implements et2_IDOMNode
|
||||
|
||||
// Append this node at its index
|
||||
var idx = this.getDOMIndex();
|
||||
if (idx < 0 || idx >= this.parentNode.childNodes.length - 1)
|
||||
if(idx < 0 || idx > this.parentNode.childNodes.length - 1)
|
||||
{
|
||||
this.parentNode.appendChild(node);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user