Removing Network from Definition
This commit is contained in:
1 parent
6cd3b1c1fd
commit
9919697af8
8 files changed
+1
-28
No files matched your search
@@ -12,8 +12,6 @@ function newAttachDetach () {
|
||||
return
|
||||
}
|
||||
case 'Network': {
|
||||
node.payload.parentNode.network = undefined
|
||||
completeDetachment(node, rootNodes)
|
||||
return
|
||||
}
|
||||
case 'Network Node': {
|
||||
|
||||
@@ -181,12 +181,6 @@ function newNodeChildren () {
|
||||
response.childIndex = response.childrenCount
|
||||
}
|
||||
}
|
||||
if (parentNode.network !== undefined) {
|
||||
response.childrenCount++
|
||||
if (parentNode.network.id === childNode.id) {
|
||||
response.childIndex = response.childrenCount
|
||||
}
|
||||
}
|
||||
return response
|
||||
}
|
||||
|
||||
|
||||
@@ -291,9 +291,6 @@ function newNodeDeleter () {
|
||||
if (node.personalData !== undefined) {
|
||||
deletePersonalData(node.personalData, rootNodes)
|
||||
}
|
||||
if (node.network !== undefined) {
|
||||
deleteNetwork(node.network, rootNodes)
|
||||
}
|
||||
|
||||
completeDeletion(node, rootNodes)
|
||||
destroyUiObject(node)
|
||||
|
||||
@@ -723,10 +723,6 @@ function newOnFocus () {
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
child = getNodeThatIsOnFocus(node.network)
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
if (node.payload.uiObject.isOnFocus === true) {
|
||||
return node
|
||||
} else {
|
||||
|
||||
@@ -1005,8 +1005,7 @@ function newProtocolNode () {
|
||||
subType: node.subType,
|
||||
name: node.name,
|
||||
tradingSystem: getProtocolNode(node.tradingSystem, removePersonalData, parseCode, includeIds, includePayload),
|
||||
personalData: getProtocolNode(node.personalData, removePersonalData, parseCode, includeIds, includePayload),
|
||||
network: getProtocolNode(node.network, removePersonalData, parseCode, includeIds, includePayload)
|
||||
personalData: getProtocolNode(node.personalData, removePersonalData, parseCode, includeIds, includePayload)
|
||||
}
|
||||
if (includeIds) {
|
||||
object.id = node.id
|
||||
|
||||
@@ -708,10 +708,6 @@ function newShortcutKeys () {
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
child = getNodeByShortcutKey(node.network, searchingKey)
|
||||
if (child !== undefined) {
|
||||
return child
|
||||
}
|
||||
if (node.payload.uiObject.shortcutKey === searchingKey) {
|
||||
return node
|
||||
} else {
|
||||
|
||||
@@ -390,9 +390,6 @@ function newUiObjectsFromNodes () {
|
||||
if (node.personalData !== undefined) {
|
||||
createUiObjectFromNode(node.personalData, node, node)
|
||||
}
|
||||
if (node.network !== undefined) {
|
||||
createUiObjectFromNode(node.network, node, node)
|
||||
}
|
||||
return
|
||||
}
|
||||
case 'Network': {
|
||||
|
||||
@@ -207,10 +207,6 @@ function newUiObject () {
|
||||
compatibleType = '->' + 'Definition' + '->'
|
||||
compatibleSubType = undefined
|
||||
break
|
||||
case 'Network':
|
||||
compatibleType = '->' + 'Definition' + '->'
|
||||
compatibleSubType = undefined
|
||||
break
|
||||
case 'Network Node':
|
||||
compatibleType = '->' + 'Network' + '->'
|
||||
compatibleSubType = undefined
|
||||
|
||||
Reference in new issue
Block a user