Move config node users tip into body of dialog

This commit is contained in:
Nick O'Leary
2015-09-14 16:10:46 +01:00
parent 08021e039a
commit 8316bc6480
2 changed files with 3 additions and 3 deletions

View File

@@ -686,7 +686,7 @@ RED.editor = (function() {
configNode["_"] = node_def._;
}
$("#dialog-config-form").html($("script[data-template-name='"+type+"']").html());
$("#node-config-dialog-edit-form").html($("script[data-template-name='"+type+"']").html());
$("#dialog-config-form").find('[data-i18n]').each(function() {
var current = $(this).attr("data-i18n");
@@ -899,7 +899,7 @@ RED.editor = (function() {
close: function(e) {
$(this).dialog('option','width','auto');
$(this).dialog('option','height','auto');
$("#dialog-config-form").html("");
$("#node-config-dialog-edit-form").html("");
if (RED.view.state() != RED.state.EDITING) {
RED.keyboard.enable();
}