From 8316bc648052721052897771822d87d8487dd4e1 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 14 Sep 2015 16:10:46 +0100 Subject: [PATCH] Move config node users tip into body of dialog --- editor/js/ui/editor.js | 4 ++-- editor/templates/index.mst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/js/ui/editor.js b/editor/js/ui/editor.js index bcb9f553c..1158446aa 100644 --- a/editor/js/ui/editor.js +++ b/editor/js/ui/editor.js @@ -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(); } diff --git a/editor/templates/index.mst b/editor/templates/index.mst index a2efb250f..714925e8b 100644 --- a/editor/templates/index.mst +++ b/editor/templates/index.mst @@ -79,7 +79,7 @@

-
+