Add 'view' menu and reorganise a few things

This commit is contained in:
Nick O'Leary
2016-01-09 20:39:03 +00:00
parent 9837f0e2e1
commit 66eaaf5a48
4 changed files with 29 additions and 28 deletions

View File

@@ -116,6 +116,9 @@ RED.sidebar.config = (function() {
onchange: function() { refreshConfigNodeList(); }
});
RED.menu.setAction('menu-item-config-nodes',function() {
RED.sidebar.show('config');
})
$(".workspace-config-node-tray-header").on('click', function(e) {
var icon = $(this).find("i");
if (icon.hasClass("expanded")) {