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

Handle missing_flow_file error on clone properly

This commit is contained in:
Nick O'Leary 2018-02-15 22:47:07 +00:00
parent 9f7f50664c
commit 326c6c496e
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -1170,6 +1170,10 @@ RED.projects = (function() {
projectRepoSSHKeySelect.addClass("input-error");
projectRepoPassphrase.addClass("input-error");
},
'missing_flow_file': function(error) {
// This is handled via a runtime notification.
dialog.dialog("close");
},
'project_empty': function(error) {
// This is handled via a runtime notification.
dialog.dialog("close");
@ -1178,8 +1182,9 @@ RED.projects = (function() {
// This is handled via a runtime notification.
dialog.dialog("close");
},
'unexpected_error': function(error) {
console.log("unexpected_error",error)
'*': function(error) {
reportUnexpectedError(error);
$( dialog ).dialog( "close" );
}
}
}