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

Function shiftDate

deployments/desktop/static/desktop.js:5796–5802  ·  view source on GitHub ↗
(days)

Source from the content-addressed store, hash-verified

5794 }
5795
5796 function shiftDate(days) {
5797 const input = $("paperDate");
5798 const date = input.valueAsDate || new Date();
5799 date.setDate(date.getDate() + days);
5800 input.valueAsDate = date;
5801 syncDateControls();
5802 }
5803
5804 function toggleAllSources(checked) {
5805 document.querySelectorAll(".choice-list input[type='checkbox']").forEach((input) => {

Callers 1

bindEventsFunction · 0.85

Calls 2

syncDateControlsFunction · 0.85
$Function · 0.70

Tested by

no test coverage detected