mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Move config node users tip into body of dialog
This commit is contained in:
parent
08021e039a
commit
8316bc6480
@ -686,7 +686,7 @@ RED.editor = (function() {
|
|||||||
configNode["_"] = node_def._;
|
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() {
|
$("#dialog-config-form").find('[data-i18n]').each(function() {
|
||||||
var current = $(this).attr("data-i18n");
|
var current = $(this).attr("data-i18n");
|
||||||
@ -899,7 +899,7 @@ RED.editor = (function() {
|
|||||||
close: function(e) {
|
close: function(e) {
|
||||||
$(this).dialog('option','width','auto');
|
$(this).dialog('option','width','auto');
|
||||||
$(this).dialog('option','height','auto');
|
$(this).dialog('option','height','auto');
|
||||||
$("#dialog-config-form").html("");
|
$("#node-config-dialog-edit-form").html("");
|
||||||
if (RED.view.state() != RED.state.EDITING) {
|
if (RED.view.state() != RED.state.EDITING) {
|
||||||
RED.keyboard.enable();
|
RED.keyboard.enable();
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,7 @@
|
|||||||
<div id="dropTarget"><div data-i18n="[append]workspace.dropFlowHere"><br/><i class="fa fa-download"></i></div></div>
|
<div id="dropTarget"><div data-i18n="[append]workspace.dropFlowHere"><br/><i class="fa fa-download"></i></div></div>
|
||||||
|
|
||||||
<div id="dialog" class="hide"><form id="dialog-form" class="form-horizontal"></form></div>
|
<div id="dialog" class="hide"><form id="dialog-form" class="form-horizontal"></form></div>
|
||||||
<div id="node-config-dialog" class="hide"><form id="dialog-config-form" class="form-horizontal"></form><div class="form-tips" id="node-config-dialog-user-count"></div></div>
|
<div id="node-config-dialog" class="hide"><form id="dialog-config-form" class="form-horizontal"><div id="node-config-dialog-edit-form"></div><div class="form-tips" id="node-config-dialog-user-count"></div></form></div>
|
||||||
<div id="subflow-dialog" class="hide">
|
<div id="subflow-dialog" class="hide">
|
||||||
<form class="form-horizontal">
|
<form class="form-horizontal">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
|
Loading…
Reference in New Issue
Block a user