Detaching from chainParent Implemented

This commit is contained in:
Luis Fernando Molina committed 2019-05-21 17:20:29 +02:00
1 parent 8b26ccc250
commit 37bd44e928
2 files changed
+33 -2

No files matched your search

+5
View File
@@ -5,6 +5,7 @@ function newWorkspace () {
let thisObject = {
tradingSystem: undefined,
container: undefined,
detachNode: detachNode,
getContainer: getContainer,
initialize: initialize,
finalize: finalize
@@ -43,6 +44,10 @@ function newWorkspace () {
}
function detachNode (node) {
node.payload.chainParent = undefined
}
function createPart (partType, name, node, parentNode, chainParent, title) {
let payload = {}
if (chainParent === undefined) {