Returning User

New User

/** * This variable will define every property we need to pass to Templates core library as we can't define twig variables on JS files. */ var twigConfig = pageParameters: personSort: null, personSortDirection: null, jobSort: null, jobSortDirection: null, jobRecordsPerPage: , personRecordsPerPage: , wizardModalViewEnabled: || false, wizardHasErrors: || false, plugins: popper: js: , tooltip: js: , css: , popup: js: , css: , slider: js: , css: , page: PORTAL_BASE_REAL_URL: https://jobs.lenovo.com/portal/4, wizardPageBackTo: , , convertDatesToUserTZ: CSSClass: , convertDatesToUserTZEnabled: 0, loggedUserTZ: Intl.DateTimeFormat().resolvedOptions().timeZone, weekday: , day: , month: , hour: , minute: , hour12: , , isDashboard: 0, isReviewInformation: 0, isRecommendationFlow: 0 ; var lightbox; var slider; var Templates; if( twigConfig.isRecommendationFlow === 1 ) // Function to clear specific keys function clearSpecificKeys() Object.keys(sessionStorage).forEach(function(key) if (key.includes(restoringData) || key.includes(wizardSessions)) sessionStorage.removeItem(key); ); // Clear immediately clearSpecificKeys(); // Clear all sessionStorage sessionStorage.clear(); // Intercept any attempt to set wizardSessions const originalSetItem = sessionStorage.setItem; sessionStorage.setItem = function(key, value) if (key.includes(wizardSessions)) return; originalSetItem.call(this, key, value); ; // Clear periodically as backup setTimeout(function() clearSpecificKeys(); , 100); pjQuery(function() var domManager = new DomManager(); domManager.run(); ); var service = EventManager.getInstance();