generated from root/miduo_server
开服状态允许重启服务器
parent
a243121650
commit
020fd2bfc1
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue