From 434ac249dcdce0ce6be60701328eb7e3be187ad8 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Sat, 4 Jan 2025 02:29:24 -0500 Subject: [PATCH] Update SVSTaskGate-old.ps1 --- SVSTaskGate-old.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SVSTaskGate-old.ps1 b/SVSTaskGate-old.ps1 index c39f08f..b62c33d 100644 --- a/SVSTaskGate-old.ps1 +++ b/SVSTaskGate-old.ps1 @@ -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 => {