mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	| @@ -134,10 +134,12 @@ function createNode(flow,config) { | ||||
|                 subflowInstanceConfig, | ||||
|                 instanceConfig | ||||
|             ); | ||||
|             // Register this subflow as an instance node of the parent flow. | ||||
|             // This allows nodes inside the subflow to get ahold of each other | ||||
|             // such as a node accessing its config node | ||||
|             flow.subflowInstanceNodes[config.id] = subflow | ||||
|             subflow.start(); | ||||
|             return subflow.node; | ||||
|  | ||||
|             Log.error(Log._("nodes.flow.unknown-type", {type:type})); | ||||
|         } | ||||
|     } catch(err) { | ||||
|         Log.error(err); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user