mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #2506 from node-red-hitachi/fix-subflow-template-tab
fix tab appearance of subflow template panel
This commit is contained in:
commit
5b2ee21204
@ -2423,15 +2423,16 @@ RED.editor = (function() {
|
|||||||
buildAppearanceForm(appearanceTab.content,editing_node);
|
buildAppearanceForm(appearanceTab.content,editing_node);
|
||||||
editorTabs.addTab(appearanceTab);
|
editorTabs.addTab(appearanceTab);
|
||||||
|
|
||||||
|
buildEditForm(nodePropertiesTab.content,"dialog-form","subflow-template", undefined, editing_node);
|
||||||
|
trayBody.i18n();
|
||||||
|
|
||||||
$.getJSON(getCredentialsURL("subflow", subflow.id), function (data) {
|
$.getJSON(getCredentialsURL("subflow", subflow.id), function (data) {
|
||||||
subflow.credentials = data;
|
subflow.credentials = data;
|
||||||
subflow.credentials._ = $.extend(true,{},data);
|
subflow.credentials._ = $.extend(true,{},data);
|
||||||
|
|
||||||
buildEditForm(nodePropertiesTab.content,"dialog-form","subflow-template", undefined, editing_node);
|
|
||||||
$("#subflow-input-name").val(subflow.name);
|
$("#subflow-input-name").val(subflow.name);
|
||||||
RED.text.bidi.prepareInput($("#subflow-input-name"));
|
RED.text.bidi.prepareInput($("#subflow-input-name"));
|
||||||
|
|
||||||
trayBody.i18n();
|
|
||||||
finishedBuilding = true;
|
finishedBuilding = true;
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user