diff --git a/public/red/ui/editor.js b/public/red/ui/editor.js index e39af3f00..464babaef 100644 --- a/public/red/ui/editor.js +++ b/public/red/ui/editor.js @@ -274,7 +274,9 @@ RED.editor = function() { } $( this ).dialog('option','height','auto'); $( this ).dialog('option','width','500'); - RED.sidebar.info.refresh(editing_node); + if (editing_node) { + RED.sidebar.info.refresh(editing_node); + } RED.sidebar.config.refresh(); editing_node = null; }