-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrected some variables names and typos
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<!DOCTYPE html> | ||
<!-- | ||
Version 1.4 | ||
Version 1.5 | ||
Written by Jeremy Saunders ([email protected]) 13th June 2020 | ||
Modified by Jeremy Saunders ([email protected]) 11th September 2020 | ||
Modified by Jeremy Saunders ([email protected]) 14th October 2020 | ||
--> | ||
<html> | ||
<head> | ||
|
@@ -1000,7 +1000,7 @@ <h2>Self-Service Session Reset Tool</h2> | |
function restartMachines(sitename, deliverycontrollers, port, sessions, reset) { | ||
OpenStatusPopup() | ||
$("#statusmessage").append("<span>" + Get24hourTime() + ": Restarting machines...</br></span>"); | ||
var sessionsToLogoff = { | ||
var machinesToRestart = { | ||
"SiteName": sitename, | ||
"DeliveryControllers": deliverycontrollers, | ||
"Port": port, | ||
|
@@ -1011,7 +1011,7 @@ <h2>Self-Service Session Reset Tool</h2> | |
type: "DELETE", | ||
dataType: "json", | ||
url: "api/CtxSession/RestartMachines", | ||
data: sessionsToLogoff, | ||
data: machinesToRestart, | ||
success: function (result) { | ||
console.info(result); | ||
OpenStatusPopup() | ||
|
@@ -1030,7 +1030,7 @@ <h2>Self-Service Session Reset Tool</h2> | |
function hideSessions(sitename, deliverycontrollers, port, sessions, hide) { | ||
OpenStatusPopup() | ||
$("#statusmessage").append("<span>" + Get24hourTime() + ": Hiding sessions...</br></span>"); | ||
var sessionsToLogoff = { | ||
var sessionsToHide = { | ||
"SiteName": sitename, | ||
"DeliveryControllers": deliverycontrollers, | ||
"Port": port, | ||
|
@@ -1041,7 +1041,7 @@ <h2>Self-Service Session Reset Tool</h2> | |
type: "PUT", | ||
dataType: "json", | ||
url: "api/CtxSession/HideSessions", | ||
data: sessionsToLogoff, | ||
data: sessionsToHide, | ||
success: function (result) { | ||
console.info(result); | ||
OpenStatusPopup() | ||
|