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

Function _update_lightbox_select

codebase/sources/dhtmlxscheduler.es.js:6622–6629  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6620 }
6621 if (cfg.auto_end_date && cfg.event_duration) {
6622 var _update_lightbox_select = function() {
6623 if (!(cfg.auto_end_date && cfg.event_duration)) {
6624 return;
6625 }
6626 start_date = new Date(s[map[3]].value, s[map[2]].value, s[map[1]].value, 0, s[map[0]].value);
6627 end_date = new Date(start_date.getTime() + scheduler2.config.event_duration * 60 * 1e3);
6628 _fill_lightbox_select(s, 4, end_date);
6629 };
6630 for (var i = 0; i < 4; i++) {
6631 if (!s[i].$_eventAttached) {
6632 s[i].$_eventAttached = true;

Callers

nothing calls this directly

Calls 1

_fill_lightbox_selectFunction · 0.70

Tested by

no test coverage detected