Panels with no coding

This commit is contained in:
Luis Fernando Molina committed 2019-12-12 21:10:41 +01:00
1 parent de56425e84
commit d3a5e40948
12 files changed
+3 -196

No files matched your search

@@ -83,9 +83,6 @@ function newNodeChildren () {
case 'Plotter Module': {
return countChildrenPlotterModule(parentNode, childNode)
}
case 'Plotter Panel': {
return countChildrenPlotterPanel(parentNode, childNode)
}
case 'Network Node': {
return countChildrenNetworkNode(parentNode, childNode)
}
@@ -754,20 +751,6 @@ function newNodeChildren () {
return response
}
function countChildrenPlotterPanel (parentNode, childNode) {
let response = {
childrenCount: 0,
childIndex: undefined
}
if (parentNode.javascriptCode !== undefined) {
response.childrenCount++
if (parentNode.javascriptCode.id === childNode.id) {
response.childIndex = response.childrenCount
}
}
return response
}
function countChildrenNetworkNode (parentNode, childNode) {
let response = {
childrenCount: 0,