Detaching from chainParent Implemented
This commit is contained in:
1 parent
8b26ccc250
commit
37bd44e928
2 files changed
+33
-2
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user