Automatically switch to SSH panel if bookmark uses ssh
This commit is contained in:
parent
e3f5cab6dd
commit
ac5c18e261
File diff suppressed because one or more lines are too long
@ -945,6 +945,13 @@ $(document).ready(function() {
|
|||||||
$("#ssh_port").val(item.ssh.port);
|
$("#ssh_port").val(item.ssh.port);
|
||||||
$("#ssh_user").val(item.ssh.user);
|
$("#ssh_user").val(item.ssh.user);
|
||||||
$("#ssh_password").val(item.ssh.password);
|
$("#ssh_password").val(item.ssh.password);
|
||||||
|
$("#connection_ssh").click();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$("#ssh_host").val("");
|
||||||
|
$("#ssh_port").val("");
|
||||||
|
$("#ssh_user").val("");
|
||||||
|
$("#ssh_password").val("");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user