mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Make ssh key dialog accessible when opened from new proj dialog
This commit is contained in:
parent
6a519a30a2
commit
a786b37cb9
@ -546,7 +546,7 @@ RED.projects = (function() {
|
|||||||
subrow = $('<div style="text-align: center">').appendTo(sshwarningRow);
|
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) {
|
$('<button class="editor-button">'+RED._("projects.clone-project.ssh-key-add")+'</button>').appendTo(subrow).click(function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$('#projects-dialog-cancel').click();
|
dialog.dialog( "close" );
|
||||||
RED.userSettings.show('gitconfig');
|
RED.userSettings.show('gitconfig');
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$("#user-settings-gitconfig-add-key").click();
|
$("#user-settings-gitconfig-add-key").click();
|
||||||
|
Loading…
Reference in New Issue
Block a user