FIX: Adjusting setting of ajax default header as not being passed for version check (#3383)

master
J Blackman 2023-03-19 10:46:45 +11:00 committed by GitHub
parent 43e080b81f
commit e94cb0cd1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,6 @@ function appReady() {
cleanupLocalStorage();
i18n.init(function() {
startProcess();
// pass the configurator version as a custom header for every AJAX request.
$.ajaxSetup({
@ -89,6 +88,8 @@ function appReady() {
},
});
startProcess();
checkSetupAnalytics(function (analyticsService) {
analyticsService.sendEvent(analyticsService.EVENT_CATEGORIES.APPLICATION, 'SelectedLanguage', i18n.selectedLanguage);
});