Update TGBeta.ps1
This commit is contained in:
@@ -824,8 +824,8 @@ function GetHtmlContent {
|
|||||||
|
|
||||||
function triggerInstall() {
|
function triggerInstall() {
|
||||||
const dropdown = document.getElementById('dattoRmmDropdown');
|
const dropdown = document.getElementById('dattoRmmDropdown');
|
||||||
const UID = dropdown.options[dropdown.selectedIndex].value;
|
const UID = dropdown.options[dropdown.selectedIndex]?.value || null;
|
||||||
const Name = dropdown.options[dropdown.selectedIndex].text;
|
const Name = dropdown.options[dropdown.selectedIndex]?.text || null;
|
||||||
|
|
||||||
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