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

Function setDirectReadBusy

deployments/desktop/static/desktop.js:1650–1656  ·  view source on GitHub ↗
(kind, busy)

Source from the content-addressed store, hash-verified

1648 }
1649
1650 function setDirectReadBusy(kind, busy) {
1651 const { button } = directReadElements(kind);
1652 if (!button) return;
1653 button.disabled = busy;
1654 button.classList.toggle("loading", busy);
1655 button.textContent = busy ? ui().papers.generating : ui().reports.generate;
1656 }
1657
1658 function flashButtonFeedback(button, type = "click") {
1659 if (!button || (button.disabled && type === "click")) return;

Callers 1

directReadFunction · 0.85

Calls 2

directReadElementsFunction · 0.85
uiFunction · 0.85

Tested by

no test coverage detected