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

Function urlHasExplicitNavigation

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

Source from the content-addressed store, hash-verified

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

Callers 1

cookieFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected