Do not propagate Flow.getNode to parent when called from outside flow

This commit is contained in:
Nick O'Leary
2019-01-29 21:49:20 +00:00
parent d23b32a830
commit d534a8952d
3 changed files with 74 additions and 6 deletions

View File

@@ -207,11 +207,11 @@ function setFlows(_config,type,muteLog,forceStart) {
function getNode(id) {
var node;
if (activeNodesToFlow[id] && activeFlows[activeNodesToFlow[id]]) {
return activeFlows[activeNodesToFlow[id]].getNode(id);
return activeFlows[activeNodesToFlow[id]].getNode(id,true);
}
for (var flowId in activeFlows) {
if (activeFlows.hasOwnProperty(flowId)) {
node = activeFlows[flowId].getNode(id);
node = activeFlows[flowId].getNode(id,true);
if (node) {
return node;
}