From 727337a3ac26763b0aab55c85f1628387c650c3e Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Sun, 23 Nov 2025 16:20:25 -0500 Subject: [PATCH] Update Scriptmonkey_Beta.ps1 --- Scriptmonkey_Beta.ps1 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Scriptmonkey_Beta.ps1 b/Scriptmonkey_Beta.ps1 index 9b51b1e..cca8772 100644 --- a/Scriptmonkey_Beta.ps1 +++ b/Scriptmonkey_Beta.ps1 @@ -989,6 +989,21 @@ function updateOffboardSelectAll() { master.checked = Array.from(children).every(cb => cb.checked); } +// Attach off-board checkbox change handlers +document.addEventListener('DOMContentLoaded', () => { + const offChildren = document.querySelectorAll( + '#offboardTab input[type=checkbox]:not(#offboardSelectAll)' + ); + + offChildren.forEach(cb => + cb.addEventListener('change', updateOffboardSelectAll) + ); + + // Initialize master checkbox state on load + updateOffboardSelectAll(); +}); + + // ======================================================================= // DattoRMM Options @@ -1300,6 +1315,9 @@ $style + + +

Off-Boarding