mirror of
https://github.com/node-red/node-red
synced 2024-11-21 23:48:30 +00:00
Hide projects dialog when opening proj with invalid encrypt key
This commit is contained in:
parent
e0f0a76ae4
commit
85e05b787f
@ -1606,6 +1606,11 @@ RED.projects = (function() {
|
||||
done(null,data);
|
||||
},
|
||||
400: {
|
||||
'credentials_load_failed': function(data) {
|
||||
dialog.dialog( "close" );
|
||||
RED.events.emit("project:change", {name:name});
|
||||
done(null,data);
|
||||
},
|
||||
'*': done
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user