ssh update 90%

This commit is contained in:
midoks
2023-01-27 00:40:06 +08:00
parent c952be4e45
commit d5fc464603
3 changed files with 44 additions and 13 deletions
+17
View File
@@ -293,8 +293,25 @@ function Terms_WebSocketIO_Create(ip, random){
});
n.registerConnectedCallBack(function(){
var that = this;
$('.term_item_tab .item').each(function(){
var id = $(this).data('id');
if (id == that.id){
$(this).find('.icon').removeClass('icon-warning').addClass('icon-sucess');
}
});
webShell_Resize();
});
n.registerExitCallBack(function(){
var that = this;
$('.term_item_tab .item').each(function(){
var id = $(this).data('id');
if (id == that.id){
$(this).find('.icon').removeClass('icon-sucess').addClass('icon-warning');
}
});
});
return n;
}