mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-15 11:52:12 +03:00
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_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("");
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user