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

Function updateTextEvents

codebase/sources/dhtmlxscheduler.es.js:18526–18536  ·  view source on GitHub ↗
(id, data)

Source from the content-addressed store, hash-verified

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

Callers 1

recurringFunction · 0.70

Calls 1

updateEventMethod · 0.65

Tested by

no test coverage detected