Update TGBeta.ps1

This commit is contained in:
2025-01-06 23:19:16 -05:00
parent b3c14b06b1
commit d976433a10

View File

@@ -669,18 +669,6 @@ function GetHtmlContent {
} }
} }
function toggleOffboardCheckboxes(selectAllCheckbox) {
// Get all checkboxes inside the offboardTab container
const checkboxes = document
.getElementById('offboardTab')
.querySelectorAll('input[type="checkbox"]:not(#selectAllOffboardCheckbox)');
// Set the checked state of all checkboxes to match the "Select All" checkbox
checkboxes.forEach(checkbox => {
checkbox.checked = selectAllCheckbox.checked;
});
}
function updateSelectAllonboard() { function updateSelectAllonboard() {
const selectAllCheckbox = document.getElementById('selectAllonboardCheckbox'); const selectAllCheckbox = document.getElementById('selectAllonboardCheckbox');
const checkboxes = document const checkboxes = document
@@ -696,6 +684,19 @@ function GetHtmlContent {
checkbox.addEventListener('change', updateSelectAllonboard); checkbox.addEventListener('change', updateSelectAllonboard);
}); });
function toggleOffboardCheckboxes(selectAllCheckbox) {
// Get all checkboxes inside the offboardTab container
const checkboxes = document
.getElementById('offboardTab')
.querySelectorAll('input[type="checkbox"]:not(#selectAllOffboardCheckbox)');
// Set the checked state of all checkboxes to match the "Select All" checkbox
checkboxes.forEach(checkbox => {
checkbox.checked = selectAllCheckbox.checked;
});
}
function updateSelectAllOffboard() { function updateSelectAllOffboard() {
const selectAllCheckbox = document.getElementById('selectAllOffboardCheckbox'); const selectAllCheckbox = document.getElementById('selectAllOffboardCheckbox');
const checkboxes = document const checkboxes = document