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

Function clearReportViewer

deployments/desktop/static/desktop.js:2944–2953  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2942 }
2943
2944 function clearReportViewer() {
2945 state.currentReport = null;
2946 $("reportViewerTitle").textContent = ui().reports.defaultTitle;
2947 $("reportViewerMeta").textContent = "";
2948 $("reportViewerBody").className = "markdown-body";
2949 $("reportViewerBody").innerHTML = "";
2950 $("clearReportAnnotationsBtn").disabled = true;
2951 hideReportAnnotationToolbar();
2952 setReportLinks({});
2953 }
2954
2955 async function refreshReports(options = {}) {
2956 const scopedUser = $("reportsCurrentOnly").checked ? currentUser() : "";

Callers 2

deleteReportCardFunction · 0.85
refreshReportsFunction · 0.85

Calls 4

uiFunction · 0.85
setReportLinksFunction · 0.85
$Function · 0.70

Tested by

no test coverage detected