开服状态允许重启服务器

jieling
grimm 2023-12-24 16:24:40 +08:00
parent a243121650
commit 020fd2bfc1
1 changed files with 0 additions and 5 deletions

View File

@ -243,11 +243,6 @@
// 重启服务器列表
function restartServer(obj) {
var serverId = $(obj).attr("id");
var status = $(obj).attr("status");
if (status > 1){
alert("服务器处于对外状态,不能重启");
return false;
}
var msg = "请问是否要重启该服务器:{"+serverId+"},\n\n请确认";
if (confirm(msg) === true) {
$.ajax({