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

Add show-examples-import-dialog action

This commit is contained in:
Nick O'Leary 2020-05-07 13:46:18 +01:00
parent 189389f96a
commit d6ad7dc6eb
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -740,6 +740,8 @@ RED.clipboard = (function() {
RED.actions.add("core:show-library-export-dialog",function() { exportNodes('library') });
RED.actions.add("core:show-library-import-dialog",function() { importNodes('library') });
RED.actions.add("core:show-examples-import-dialog",function() { importNodes('examples') });
RED.events.on("editor:open",function() { disabled = true; });
RED.events.on("editor:close",function() { disabled = false; });
RED.events.on("search:open",function() { disabled = true; });