Automatically switch to SSH panel if bookmark uses ssh

This commit is contained in:
Dan Sosedoff 2016-01-17 15:28:22 -06:00
parent e3f5cab6dd
commit ac5c18e261
2 changed files with 9 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -945,6 +945,13 @@ $(document).ready(function() {
$("#ssh_port").val(item.ssh.port);
$("#ssh_user").val(item.ssh.user);
$("#ssh_password").val(item.ssh.password);
$("#connection_ssh").click();
}
else {
$("#ssh_host").val("");
$("#ssh_port").val("");
$("#ssh_user").val("");
$("#ssh_password").val("");
}
});