@node-red/editor-client 4.0.4 → 4.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/red/about +6 -0
- package/public/red/red.js +2 -2
- package/public/red/red.min.js +1 -1
package/package.json
CHANGED
package/public/red/about
CHANGED
package/public/red/red.js
CHANGED
|
@@ -6841,10 +6841,10 @@ RED.nodes = (function() {
|
|
|
6841
6841
|
if (otherNode.z === n.z) {
|
|
6842
6842
|
// Both ends in the same flow/subflow
|
|
6843
6843
|
return true
|
|
6844
|
-
} else if (n.type === "link call" &&
|
|
6844
|
+
} else if (n.type === "link call" && !getSubflow(otherNode.z)) {
|
|
6845
6845
|
// Link call node can call out of a subflow as long as otherNode is
|
|
6846
6846
|
// not in a subflow
|
|
6847
|
-
return
|
|
6847
|
+
return true
|
|
6848
6848
|
} else if (!!getSubflow(n.z) || !!getSubflow(otherNode.z)) {
|
|
6849
6849
|
// One end is in a subflow - remove the link
|
|
6850
6850
|
return false
|