MCPcopy Create free account
hub / github.com/error311/FileRise / toggleAllCheckboxes

Function toggleAllCheckboxes

public/js/domUtils.js:48–55  ·  view source on GitHub ↗
(masterCheckbox)

Source from the content-addressed store, hash-verified

46}
47
48export function toggleAllCheckboxes(masterCheckbox) {
49 const checkboxes = document.querySelectorAll(".file-checkbox");
50 checkboxes.forEach(chk => {
51 chk.checked = masterCheckbox.checked;
52 updateRowHighlight(chk);
53 });
54 updateFileActionButtons();
55}
56
57export function updateFileActionButtons() {
58 const fileCheckboxes = document.querySelectorAll("#fileList .file-checkbox");

Callers

nothing calls this directly

Calls 2

updateRowHighlightFunction · 0.85
updateFileActionButtonsFunction · 0.85

Tested by

no test coverage detected