MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / updateTextEvents

Function updateTextEvents

codebase/sources/dhtmlxscheduler.js:18530–18540  ·  view source on GitHub ↗
(id, data)

Source from the content-addressed store, hash-verified

18528 }
18529 }
18530 function updateTextEvents(id, data) {
18531 for (let i in scheduler2._events) {
18532 let tev = scheduler2._events[i];
18533 if (tev.recurring_event_id == id || scheduler2._is_virtual_event(tev.id) && tev.id.split("#")[0] == id) {
18534 if (tev.start_date.valueOf() >= data.start_date.valueOf()) {
18535 tev.text = data.text;
18536 scheduler2.updateEvent(tev.id);
18537 }
18538 }
18539 }
18540 }
18541 function deleteEventFromSeries(idTimestamp, ev) {
18542 let id = idTimestamp;
18543 let originalStartTimestamp = new Date(ev.original_start).valueOf();

Callers 1

recurringFunction · 0.70

Calls 1

updateEventMethod · 0.65

Tested by

no test coverage detected