Allow workspace tabs to be re-ordered

This commit is contained in:
Nick O'Leary
2016-05-04 15:22:30 +01:00
parent fa90eeac55
commit 269763fa0c
6 changed files with 137 additions and 13 deletions

View File

@@ -273,6 +273,10 @@ RED.history = (function() {
RED.nodes.addLink(ev.removedLinks[i]);
}
}
} else if (ev.t == "reorder") {
if (ev.order) {
RED.workspaces.order(ev.order);
}
}
Object.keys(modifiedTabs).forEach(function(id) {
var subflow = RED.nodes.subflow(id);