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

Function afterPopup

codebase/sources/dhtmlxscheduler.js:12261–12270  ·  view source on GitHub ↗
(box)

Source from the content-addressed store, hash-verified

12259 return !!(child == parent);
12260 }
12261 function afterPopup(box) {
12262 setTimeout(function() {
12263 if (scheduler2.$destroyed) {
12264 return true;
12265 }
12266 if (!isModal() && !isChildOf(document.activeElement, scheduler2.$container)) {
12267 scheduler2.focus();
12268 }
12269 }, 1);
12270 }
12271 function startModal(box) {
12272 scheduler2.eventRemove(box, "keydown", trapFocus);
12273 scheduler2.event(box, "keydown", trapFocus);

Callers 2

endModalFunction · 0.70
modalsFunction · 0.70

Calls 3

isModalFunction · 0.70
isChildOfFunction · 0.70
focusMethod · 0.65

Tested by

no test coverage detected