Hide projects dialog when opening proj with invalid encrypt key

This commit is contained in:
Nick O'Leary 2021-02-13 19:53:10 +00:00
parent e0f0a76ae4
commit 85e05b787f
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 5 additions and 0 deletions

View File

@ -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
},
}