@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-red/editor-client",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
package/public/red/about CHANGED
@@ -1,3 +1,9 @@
1
+ #### 4.0.5: Maintenance Release
2
+
3
+ Editor
4
+
5
+ - Refix link call node can call out of a subflow (#4908) @GogoVega
6
+
1
7
  #### 4.0.4: Maintenance Release
2
8
 
3
9
  Editor
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" && !!getSubflow(otherNode.z)) {
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 false
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