mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02: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);
|
done(null,data);
|
||||||
},
|
},
|
||||||
400: {
|
400: {
|
||||||
|
'credentials_load_failed': function(data) {
|
||||||
|
dialog.dialog( "close" );
|
||||||
|
RED.events.emit("project:change", {name:name});
|
||||||
|
done(null,data);
|
||||||
|
},
|
||||||
'*': done
|
'*': done
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user