Skip to content

Commit

Permalink
Merge pull request #2506 from node-red-hitachi/fix-subflow-template-tab
Browse files Browse the repository at this point in the history
fix tab appearance of subflow template panel
  • Loading branch information
knolleary committed Mar 24, 2020
2 parents b5ed018 + c4ca0b6 commit 5b2ee21
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2423,15 +2423,16 @@ RED.editor = (function() {
buildAppearanceForm(appearanceTab.content,editing_node);
editorTabs.addTab(appearanceTab);

buildEditForm(nodePropertiesTab.content,"dialog-form","subflow-template", undefined, editing_node);
trayBody.i18n();

$.getJSON(getCredentialsURL("subflow", subflow.id), function (data) {
subflow.credentials = data;
subflow.credentials._ = $.extend(true,{},data);

buildEditForm(nodePropertiesTab.content,"dialog-form","subflow-template", undefined, editing_node);
$("#subflow-input-name").val(subflow.name);
RED.text.bidi.prepareInput($("#subflow-input-name"));

trayBody.i18n();
finishedBuilding = true;
done();
});
Expand Down

0 comments on commit 5b2ee21

Please sign in to comment.