update system information
This commit is contained in:
@@ -177,4 +177,24 @@ function changeIP(e) {
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function reboot(e) {
|
||||
if (confirm($("input[name='BAN_CO_CHAC_CHAN_MUON_REBOOT_KHONG']").val())) {
|
||||
$("#reboot-blocking").modal({
|
||||
keyboard: false,
|
||||
backdrop: false
|
||||
});
|
||||
$.ajax({
|
||||
url: $(e).attr("data-href"),
|
||||
type: 'POST',
|
||||
success: function (data) {
|
||||
|
||||
},
|
||||
error: function (jqXHR, textStatus, errorThrown) {
|
||||
// $("#reboot-blocking").modal("hide");
|
||||
// common.ajaxError();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user