Update SVSTaskGate-old.ps1
This commit is contained in:
@@ -688,6 +688,7 @@ function GetHtmlContent {
|
||||
const UID = dropdown.options[dropdown.selectedIndex].value;
|
||||
const Name = dropdown.options[dropdown.selectedIndex].text;
|
||||
|
||||
const installSVSMSPModule = document.querySelector('input[name="installSVSMSPModule"]');
|
||||
const installDattoRMM = document.querySelector('input[name="installDattoRMM"]');
|
||||
const installCyberQP = document.querySelector('input[name="installCyberQP"]');
|
||||
const installSplashtop = document.querySelector('input[name="installSplashtop"]');
|
||||
@@ -696,7 +697,7 @@ function GetHtmlContent {
|
||||
const installThreatLocker = document.querySelector('input[name="installThreatlocker"]');
|
||||
const installRocketCyber = document.querySelector('input[name="installRocketCyber"]');
|
||||
|
||||
if (installSVSMSPModule) {
|
||||
if (installSVSMSPModule.checked) {
|
||||
appendLog("Installing SVSMSP Module...", "cyan");
|
||||
fetch('/installsvsmspmodule', { method: 'GET' })
|
||||
.then(response => {
|
||||
|
||||
Reference in New Issue
Block a user