mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Save/restore tabs
This commit is contained in:
@@ -72,6 +72,10 @@ RED.tabs = function() {
|
||||
if (options.onadd) {
|
||||
options.onadd(tab);
|
||||
}
|
||||
link.attr("title",tab.label);
|
||||
if (ul.find("li.red-ui-tab").size() == 1) {
|
||||
activateTab(link);
|
||||
}
|
||||
},
|
||||
activateTab: activateTab,
|
||||
resize: updateTabWidths
|
||||
|
Reference in New Issue
Block a user