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

Function refreshAfterLoad

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

Source from the content-addressed store, hash-verified

7558 }
7559 }
7560 function refreshAfterLoad() {
7561 if (scheduler2._is_material_skin() || scheduler2._border_box_events()) {
7562 return;
7563 }
7564 var oldStyling = cachedBorderBoxValue;
7565 cachedBorderBoxValue = void 0;
7566 calculatedMaterial = void 0;
7567 var newStyling = checkIfBorderBoxStyling();
7568 if (oldStyling !== newStyling && scheduler2.$container && scheduler2.getState().mode) {
7569 scheduler2.setCurrentView();
7570 }
7571 }
7572 if (typeof window !== "undefined") {
7573 scheduler2.event(window, "DOMContentLoaded", refreshAfterLoad);
7574 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