mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Handle missing config nodes when validating node properties
This commit is contained in:
		| @@ -126,8 +126,8 @@ RED.editor = (function() { | ||||
|             if (!value || value == "_ADD_") { | ||||
|                 valid = definition[property].hasOwnProperty("required") && !definition[property].required; | ||||
|             } else { | ||||
|                 var v = RED.nodes.node(value).valid; | ||||
|                 valid = (v==null || v); | ||||
|                 var configNode = RED.nodes.node(value); | ||||
|                 valid = (configNode !== null && (configNode.valid == null || configNode.valid)); | ||||
|             } | ||||
|         } | ||||
|         return valid; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user