mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Allow node edit dialog to be opened on a non-default tab
This commit is contained in:
parent
597c4a2e4f
commit
73dde4de51
@ -1086,7 +1086,7 @@ RED.editor = (function() {
|
||||
return nodeInfoEditor;
|
||||
}
|
||||
|
||||
function showEditDialog(node) {
|
||||
function showEditDialog(node, defaultTab) {
|
||||
var editing_node = node;
|
||||
var isDefaultIcon;
|
||||
var defaultIcon;
|
||||
@ -1604,6 +1604,9 @@ RED.editor = (function() {
|
||||
prepareEditDialog(node,node._def,"node-input", function() {
|
||||
trayBody.i18n();
|
||||
finishedBuilding = true;
|
||||
if (defaultTab) {
|
||||
editorTabs.activateTab(defaultTab);
|
||||
}
|
||||
done();
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user