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

Function setSubmitButtonsBusy

deployments/desktop/static/desktop.js:1622–1630  ·  view source on GitHub ↗
(busy, generateReports = false)

Source from the content-addressed store, hash-verified

1620 }
1621
1622 function setSubmitButtonsBusy(busy, generateReports = false) {
1623 const feedbackButton = $("submitFeedbackBtn");
1624 const readButton = $("submitAndReadBtn");
1625 if (!feedbackButton || !readButton) return;
1626 feedbackButton.disabled = busy;
1627 readButton.disabled = busy;
1628 feedbackButton.textContent = busy && !generateReports ? ui().papers.submitting : ui().papers.submitFeedback;
1629 readButton.textContent = busy && generateReports ? ui().papers.generating : ui().papers.submitAndRead;
1630 }
1631
1632 function directReadElements(kind) {
1633 return {

Callers 1

submitFeedbackFunction · 0.85

Calls 2

uiFunction · 0.85
$Function · 0.70

Tested by

no test coverage detected