Update TGBeta.ps1

This commit is contained in:
2025-01-05 20:20:41 -05:00
parent 697eddb5d9
commit 06289b7816

View File

@@ -697,9 +697,7 @@ function GetHtmlContent {
function triggerInstall() {
const dropdown = document.getElementById('dattoRmmDropdown');
const UID = dropdown.options[dropdown.selectedIndex].value;
const Name = dropdown.options[dropdown.selectedIndex].text;
const installSVSMSPModule = document.querySelector('input[name="installSVSMSPModule"]');
if (installSVSMSPModule.checked) {
@@ -710,6 +708,11 @@ function GetHtmlContent {
const installDattoRMM = document.querySelector('input[name="installDattoRMM"]');
if (installDattoRMM.checked) {
const dropdown = document.getElementById('dattoRmmDropdown');
const UID = dropdown.options[dropdown.selectedIndex].value;
const Name = dropdown.options[dropdown.selectedIndex].text;
const DattoRMMCheckbox = document.querySelectorAll('input[name="dattoRMMOption"]:checked');
appendLog("Installing selected site RMM...", "cyan");