1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Ensure activeWorkspace is set when a flow contains no tabs

This commit is contained in:
Nick O'Leary 2015-02-20 10:05:42 +00:00
parent 2585e983a5
commit 9b26973883

View File

@ -615,6 +615,7 @@ RED.nodes = (function() {
addWorkspace(defaultWorkspace); addWorkspace(defaultWorkspace);
RED.view.addWorkspace(defaultWorkspace); RED.view.addWorkspace(defaultWorkspace);
new_workspaces.push(defaultWorkspace); new_workspaces.push(defaultWorkspace);
activeWorkspace = RED.view.getWorkspace();
} }
var node_map = {}; var node_map = {};