()
| 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; |
nothing calls this directly
no test coverage detected