Update webssh.js

This commit is contained in:
Mr Chen
2024-06-07 14:48:25 +08:00
parent 64f15e77bc
commit 6b60315036
+1
View File
@@ -482,6 +482,7 @@ function webShell_addServer(info=[]){
// $('input[name="pkey_passwd"]').val(jdata['pkey_passwd']);
}
$('input[name="ps"]').val(jdata['ps']);
$('input[name="port"]').val(jdata['port']);
$('.auth_type_checkbox').each(function(){
if ($(this).data('ctype') == jdata['type']){
$(this).addClass('btn-success');