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

Function getFirstSectionOfType

codebase/sources/dhtmlxscheduler.js:19770–19778  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

19768 return timeControl;
19769 }
19770 function getFirstSectionOfType(type) {
19771 for (let i = 0; i < scheduler2.config.lightbox.sections.length; i++) {
19772 let section = scheduler2.config.lightbox.sections[i];
19773 if (section.type === type) {
19774 return scheduler2.formSection(section.name);
19775 }
19776 }
19777 return null;
19778 }
19779 }
19780 function recurring_legacy(scheduler2) {
19781 scheduler2.config.occurrence_timestamp_in_utc = false;

Callers 2

getTimeSectionFunction · 0.70
getRecurringSectionFunction · 0.70

Calls 1

formSectionMethod · 0.65

Tested by

no test coverage detected