Removed confirm from access

- Removed troublesome confirm popup from black / whitelist
- Minor fix to checkbox css
This commit is contained in:
Toby Chui
2025-01-15 20:59:09 +08:00
parent 45f61b3053
commit bfd64a885e
2 changed files with 8 additions and 4 deletions

View File

@@ -1174,7 +1174,7 @@
}
function removeIpBlacklist(ipaddr){
if (confirm("Confirm remove blacklist for " + ipaddr + " ?")){
//if (confirm("Confirm remove blacklist for " + ipaddr + " ?")){
$.cjax({
url: "/api/blacklist/ip/remove",
type: "POST",
@@ -1191,7 +1191,7 @@
}
});
}
//}
}
/*
@@ -1318,7 +1318,7 @@
}
function removeIpWhitelist(ipaddr){
if (confirm("Confirm remove whitelist for " + ipaddr + " ?")){
//if (confirm("Confirm remove whitelist for " + ipaddr + " ?")){
$.cjax({
url: "/api/whitelist/ip/remove",
type: "POST",
@@ -1335,7 +1335,7 @@
}
});
}
//}
}
/*