mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update firewall.js
This commit is contained in:
@@ -68,10 +68,10 @@ function getSshInfo(){
|
||||
$("#in_safe").html(SSHchecked);
|
||||
$("#mstscPort").val(rdata.port);
|
||||
var isPint = '';
|
||||
if(!rdata.ping){
|
||||
isPing = "<input class='btswitch btswitch-ios' id='noping' type='checkbox'><label class='btswitch-btn' for='noping' onclick='ping(0)'></label>";
|
||||
if(rdata.ping){
|
||||
isPing = "<input class='btswitch btswitch-ios' id='noping' type='checkbox'><label class='btswitch-btn' for='noping' onclick='ping(1)'></label>";
|
||||
}else{
|
||||
isPing = "<input class='btswitch btswitch-ios' id='noping' type='checkbox' checked><label class='btswitch-btn' for='noping' onclick='ping(1)'></label>";
|
||||
isPing = "<input class='btswitch btswitch-ios' id='noping' type='checkbox' checked><label class='btswitch-btn' for='noping' onclick='ping(0)'></label>";
|
||||
}
|
||||
$("#is_ping").html(isPing);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user