mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 09:58:04 +02: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
|
// Append this node at its index
|
||||||
var idx = this.getDOMIndex();
|
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);
|
this.parentNode.appendChild(node);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user