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

Function setActionButtonBusy

deployments/desktop/static/desktop.js:1671–1686  ·  view source on GitHub ↗
(button, busy)

Source from the content-addressed store, hash-verified

1669 <strong>${escapeHtml(title)}</strong>
1670 ${detail ? `<span>${escapeHtml(detail)}</span>` : ""}
1671 `;
1672 toast.hidden = false;
1673 state.feedbackTimer = window.setTimeout(() => {
1674 toast.hidden = true;
1675 }, type === "error" ? 9000 : 6500);
1676 }
1677
1678 function showPaperFeedback(type, title, detail = "") {
1679 const target = $("paperFeedbackResult");
1680 if (!target) return;
1681 target.className = `paper-feedback-result ${type || "success"}`;
1682 target.innerHTML = `
1683 <strong>${escapeHtml(title)}</strong>
1684 ${detail ? `<span>${escapeHtml(detail)}</span>` : ""}
1685 `;
1686 target.hidden = false;
1687 }
1688
1689 function setSubmitButtonsBusy(busy, generateReports = false) {

Callers 1

runActionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected