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

Function urlHasExplicitNavigation

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

Source from the content-addressed store, hash-verified

10373 return { date: parsedDate, mode: parsedMode };
10374 }
10375 function urlHasExplicitNavigation() {
10376 if (!scheduler2._get_url_nav) {
10377 return false;
10378 }
10379 const urlState = scheduler2._get_url_nav();
10380 if (!urlState) {
10381 return false;
10382 }
10383 if (urlState.date || urlState.mode || urlState.event) {
10384 return true;
10385 }
10386 return false;
10387 }
10388 const originalGetInitialState = scheduler2._getInitialState;
10389 scheduler2._getInitialState = function(provided) {
10390 const baseState = originalGetInitialState.call(this, provided);

Callers 1

cookieFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected