remove pool_expired

This commit is contained in:
Ibnu Maksum
2024-06-21 20:00:24 +07:00
parent 98d8b4fe4e
commit 9014b18cea
5 changed files with 1 additions and 30 deletions

View File

@ -238,15 +238,6 @@
if (cek.checked) {
$("#routerChoose").addClass('hidden');
document.getElementById("routers").required = false;
$("#pool_expired").html('');
$.ajax({
url: "index.php?_route=autoload/pool",
data: "routers=radius",
cache: false,
success: function(msg) {
$("#pool_expired").html(msg);
}
});
} else {
document.getElementById("routers").required = true;
$("#routerChoose").removeClass('hidden');

View File

@ -302,16 +302,6 @@
$("#routerChoose").removeClass('hidden');
}
}
setTimeout(() => {
$.ajax({
url: "index.php?_route=autoload/pool",
data: "routers=radius",
cache: false,
success: function(msg) {
$("#pool_expired").html(msg);
}
});
}, 2000);
</script>
{/literal}
{/if}

View File

@ -190,14 +190,6 @@
$("#pool_name").html(msg);
}
});
$.ajax({
url: "index.php?_route=autoload/pool",
data: "routers=radius",
cache: false,
success: function(msg) {
$("#pool_expired").html(msg);
}
});
} else {
document.getElementById("routers").required = true;
document.getElementById("routers").disabled = false;

View File

@ -48,7 +48,6 @@ $(document).ready(function(){
cache: false,
success: function(msg){
$("#pool_name").html(msg);
$("#pool_expired").html(msg);
}
});
});