MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / setAllSources

Function setAllSources

deployments/desktop/static/app.js:600–604  ·  view source on GitHub ↗
(checked)

Source from the content-addressed store, hash-verified

598}
599
600function setAllSources(checked) {
601 document.querySelectorAll(".choice-list input[type='checkbox']:not(:disabled)").forEach((input) => {
602 input.checked = checked;
603 });
604}
605
606function toggleSourceGroup(targetId) {
607 const inputs = [...document.querySelectorAll(`#${targetId} input[type='checkbox']:not(:disabled)`)];

Callers 1

bindEventsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected