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

Function _update_lightbox_select

codebase/sources/dhtmlxscheduler.js:6626–6633  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

_fill_lightbox_selectFunction · 0.70

Tested by

no test coverage detected