Rev 32336 | Blame | Compare with Previous | Last modification | View Log | RSS feed
$(function() {$(document).on('click', ".restart-server-page", function() {loadRestartServer("main-content");});$(document).on('click', ".restartServerBtn", function() {doGetAjaxRequestHandler(context + "/restartServer",function(response) {if(response == 'true'){alert("Server Restarted Successfully");}});});$(document).on('click', ".rebootServerBtn", function() {doGetAjaxRequestHandler(context + "/rebootServer",function(response) {if(response == 'true'){alert("Server Reboot Successfully");}});});});function loadRestartServer(domId){doGetAjaxRequestHandler(context + "/getRestartServer",function(response) {$('#' + domId).html(response);});}