diff --git a/public/red/ui/editor.js b/public/red/ui/editor.js index 2681c7c04..c4ea36dc2 100644 --- a/public/red/ui/editor.js +++ b/public/red/ui/editor.js @@ -377,6 +377,11 @@ RED.editor = function() { _def: node_def, type: type } + for (var d in node_def.defaults) { + if (node_def.defaults[d].value) { + configNode[d] = node_def.defaults[d].value; + } + } } $("#dialog-config-form").html($("script[data-template-name='"+type+"']").html());