mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Ensure the node added to config node users is the proxy object
This commit is contained in:
		| @@ -702,11 +702,11 @@ RED.nodes = (function() { | ||||
|             n["_"] = RED._; | ||||
|         } | ||||
|         if (n._def.category == "config") { | ||||
|             configNodes[n.id] = n; | ||||
|             configNodes[n.id] = newNode; | ||||
|         } else { | ||||
|             if (n.wires && (n.wires.length > n.outputs)) { n.outputs = n.wires.length; } | ||||
|             n.dirty = true; | ||||
|             updateConfigNodeUsers(n); | ||||
|             updateConfigNodeUsers(newNode); | ||||
|             if (n._def.category == "subflows" && typeof n.i === "undefined") { | ||||
|                 var nextId = 0; | ||||
|                 RED.nodes.eachNode(function(node) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user