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

Function refreshAfterLoad

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

Source from the content-addressed store, hash-verified

7562 }
7563 }
7564 function refreshAfterLoad() {
7565 if (scheduler2._is_material_skin() || scheduler2._border_box_events()) {
7566 return;
7567 }
7568 var oldStyling = cachedBorderBoxValue;
7569 cachedBorderBoxValue = void 0;
7570 calculatedMaterial = void 0;
7571 var newStyling = checkIfBorderBoxStyling();
7572 if (oldStyling !== newStyling && scheduler2.$container && scheduler2.getState().mode) {
7573 scheduler2.setCurrentView();
7574 }
7575 }
7576 if (typeof window !== "undefined") {
7577 scheduler2.event(window, "DOMContentLoaded", refreshAfterLoad);
7578 scheduler2.event(window, "load", refreshAfterLoad);

Callers

nothing calls this directly

Calls 3

checkIfBorderBoxStylingFunction · 0.70
getStateMethod · 0.65
setCurrentViewMethod · 0.65

Tested by

no test coverage detected