mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
fixed child not commit back when performing undo
This commit is contained in:
parent
3c1d434449
commit
a35f28725b
1 changed files with 1 additions and 1 deletions
|
@ -1310,7 +1310,7 @@ function recursiveAdd(newParentID, parentData) {
|
|||
var children = parentData.children;
|
||||
for (var i = 0; i < children.length; i++) {
|
||||
var childProperties = children[i].properties;
|
||||
childProperties.parentID = newParnetID;
|
||||
childProperties.parentID = newParentID;
|
||||
var newChildID = Entities.addEntity(childProperties);
|
||||
recursiveAdd(newChildID, children[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue