Update TGBeta.ps1
This commit is contained in:
@@ -698,8 +698,8 @@ function GetHtmlContent {
|
|||||||
|
|
||||||
function triggerInstall() {
|
function triggerInstall() {
|
||||||
const dropdown = document.getElementById('dattoRmmDropdown');
|
const dropdown = document.getElementById('dattoRmmDropdown');
|
||||||
const UID = dropdown.options[dropdown.selectedIndex]?.value || null; // Handle case where no site is selected
|
const UID = dropdown.options[dropdown.selectedIndex].value
|
||||||
const Name = dropdown.options[dropdown.selectedIndex]?.text || "Unknown Site";
|
const Name = dropdown.options[dropdown.selectedIndex].text
|
||||||
|
|
||||||
const setSVSPowerplan = document.querySelector('input[name="setSVSPowerplan"]');
|
const setSVSPowerplan = document.querySelector('input[name="setSVSPowerplan"]');
|
||||||
const installSVSMSPModule = document.querySelector('input[name="installSVSMSPModule"]');
|
const installSVSMSPModule = document.querySelector('input[name="installSVSMSPModule"]');
|
||||||
|
|||||||
Reference in New Issue
Block a user