From 5462e251f83d00a487af24e598ea0d91a329f4bf Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Wed, 15 Jul 2015 13:23:05 +0100 Subject: [PATCH] Fix exclusive config node check when type not registered --- editor/js/ui/editor.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/js/ui/editor.js b/editor/js/ui/editor.js index 4e078798f..39edf883e 100644 --- a/editor/js/ui/editor.js +++ b/editor/js/ui/editor.js @@ -521,7 +521,7 @@ RED.editor = (function() { if (definition.defaults.hasOwnProperty(d)) { if (definition.defaults[d].type) { var configTypeDef = RED.nodes.getType(definition.defaults[d].type); - if (configTypeDef.exclusive) { + if (configTypeDef && configTypeDef.exclusive) { prepareConfigNodeButton(node,d,definition.defaults[d].type); } else { prepareConfigNodeSelect(node,d,definition.defaults[d].type); diff --git a/package.json b/package.json index 39dd2eb18..5a07f5772 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name" : "node-red", - "version" : "0.11.0", + "version" : "0.11.1", "description" : "A visual tool for wiring the Internet of Things", "homepage" : "http://nodered.org", "license" : "Apache-2.0",