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

activate project menu after initial clone

This commit is contained in:
Hiroyasu Nishiyama 2020-04-30 12:59:10 +09:00
parent efb9dce92f
commit 4245c0a0ad

View File

@ -685,6 +685,8 @@ RED.projects = (function() {
} }
} }
},projectData).then(function() { },projectData).then(function() {
RED.menu.setDisabled('menu-item-projects-open',false);
RED.menu.setDisabled('menu-item-projects-settings',false);
RED.events.emit("project:change", {name:name}); RED.events.emit("project:change", {name:name});
}).always(function() { }).always(function() {
setTimeout(function() { setTimeout(function() {