mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update firewall.js
This commit is contained in:
@@ -227,8 +227,7 @@ function setMstscStatus(){
|
||||
layer.confirm(msg,{title:'警告',closeBtn:2,cancel:function(){
|
||||
if(status == 0){
|
||||
$("#sshswitch").prop("checked",false);
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
$("#sshswitch").prop("checked",true);
|
||||
}
|
||||
}},function(index){
|
||||
@@ -257,8 +256,7 @@ function setSshPassStatus(){
|
||||
layer.confirm(msg,{title:'警告',closeBtn:2,cancel:function(){
|
||||
if(status == 0){
|
||||
$("#pass_status").prop("checked",false);
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
$("#pass_status").prop("checked",true);
|
||||
}
|
||||
}},function(index){
|
||||
|
||||
Reference in New Issue
Block a user