Make ssh key dialog accessible when opened from new proj dialog

This commit is contained in:
Nick O'Leary 2019-01-10 13:28:40 +00:00
parent 6a519a30a2
commit a786b37cb9
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ RED.projects = (function() {
subrow = $('<div style="text-align: center">').appendTo(sshwarningRow);
$('<button class="editor-button">'+RED._("projects.clone-project.ssh-key-add")+'</button>').appendTo(subrow).click(function(e) {
e.preventDefault();
$('#projects-dialog-cancel').click();
dialog.dialog( "close" );
RED.userSettings.show('gitconfig');
setTimeout(function() {
$("#user-settings-gitconfig-add-key").click();