diff --git a/red/nodes/registry.js b/red/nodes/registry.js index 57a15faa3..74ae69838 100644 --- a/red/nodes/registry.js +++ b/red/nodes/registry.js @@ -95,7 +95,6 @@ var registry = (function() { nodeList = []; nodeConfigCache = null; }, - addNodeSet: function(id,set) { if (!set.err) { set.types.forEach(function(t) { @@ -103,10 +102,8 @@ var registry = (function() { }); } - if (set.module) { - nodeModules[set.module] = nodeModules[set.module]||{nodes:[]}; - nodeModules[set.module].nodes.push(id); - } + nodeModules[set.module] = nodeModules[set.module]||{nodes:[]}; + nodeModules[set.module].nodes.push(set.name); nodeConfigs[id] = set; nodeList.push(id); @@ -141,7 +138,7 @@ var registry = (function() { } var infoList = []; for (var i=0;i