Skip to content

Commit

Permalink
Fix exclusive config node check when type not registered
Browse files Browse the repository at this point in the history
  • Loading branch information
knolleary committed Jul 15, 2015
1 parent 50788af commit 5462e25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion editor/js/ui/editor.js
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion 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",
Expand Down

0 comments on commit 5462e25

Please sign in to comment.