diff --git a/editor/js/ui/editor.js b/editor/js/ui/editor.js index 8476025dd..865ec667d 100644 --- a/editor/js/ui/editor.js +++ b/editor/js/ui/editor.js @@ -549,6 +549,10 @@ RED.editor = (function() { } function refreshLabelForm(container,node) { + + var inputPlaceholder = node._def.inputLabels?RED._("editor.defaultLabel"):RED._("editor.noDefaultLabel"); + var outputPlaceholder = node._def.outputLabels?RED._("editor.defaultLabel"):RED._("editor.noDefaultLabel"); + var inputsDiv = $("#node-label-form-inputs"); var outputsDiv = $("#node-label-form-outputs"); @@ -556,7 +560,7 @@ RED.editor = (function() { var children = inputsDiv.children(); if (children.length < inputCount) { for (i = children.length;i inputCount) { for (i=inputCount;i',{style:"margin: 5px 0px"}); var id = "node-label-form-"+type+"-"+index; $('