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:
parent
9f7f50664c
commit
326c6c496e
@ -1170,6 +1170,10 @@ RED.projects = (function() {
|
|||||||
projectRepoSSHKeySelect.addClass("input-error");
|
projectRepoSSHKeySelect.addClass("input-error");
|
||||||
projectRepoPassphrase.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) {
|
'project_empty': function(error) {
|
||||||
// This is handled via a runtime notification.
|
// This is handled via a runtime notification.
|
||||||
dialog.dialog("close");
|
dialog.dialog("close");
|
||||||
@ -1178,8 +1182,9 @@ RED.projects = (function() {
|
|||||||
// This is handled via a runtime notification.
|
// This is handled via a runtime notification.
|
||||||
dialog.dialog("close");
|
dialog.dialog("close");
|
||||||
},
|
},
|
||||||
'unexpected_error': function(error) {
|
'*': function(error) {
|
||||||
console.log("unexpected_error",error)
|
reportUnexpectedError(error);
|
||||||
|
$( dialog ).dialog( "close" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user