From a6803081abd39a999550657004728b89ba6400ad Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Fri, 21 Oct 2016 13:47:54 +0100 Subject: [PATCH] Config sidebar not handling node definition error properly --- editor/js/ui/tab-config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/js/ui/tab-config.js b/editor/js/ui/tab-config.js index 66c3b8d45..68b7dc90e 100644 --- a/editor/js/ui/tab-config.js +++ b/editor/js/ui/tab-config.js @@ -136,8 +136,8 @@ RED.sidebar.config = (function() { try { label = node._def.label.call(node); } catch(err) { - console.log("Definition error: "+node_def.type+".label",err); - label = node_def.type; + console.log("Definition error: "+node._def.type+".label",err); + label = node._def.type; } } else {