Update TGBeta.ps1
This commit is contained in:
25
TGBeta.ps1
25
TGBeta.ps1
@@ -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() {
|
||||
const selectAllCheckbox = document.getElementById('selectAllonboardCheckbox');
|
||||
const checkboxes = document
|
||||
@@ -696,6 +684,19 @@ function GetHtmlContent {
|
||||
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() {
|
||||
const selectAllCheckbox = document.getElementById('selectAllOffboardCheckbox');
|
||||
const checkboxes = document
|
||||
|
||||
Reference in New Issue
Block a user