[desktop] fix bug 59057

This commit is contained in:
Maxim Kadushkin 2022-09-16 16:32:15 +03:00 committed by catbasilio
parent f90e8cb048
commit 778a58f118
3 changed files with 3 additions and 3 deletions

View file

@ -2115,7 +2115,7 @@ define([
me.iFrame.src = '../../common/main/resources/help/download.html';
else {
store.contentLang = store.contentLang === lang ? '{{DEFAULT_LANG}}' : lang;
me.urlPref = Common.Controllers.Desktop.helpUrl() + '/' + lang + '/';
me.urlPref = Common.Controllers.Desktop.helpUrl() + '/' + store.contentLang + '/';
store.url = me.urlPref + 'Contents.json';
store.fetch(config);
}

View file

@ -1614,7 +1614,7 @@ define([
me.iFrame.src = '../../common/main/resources/help/download.html';
else {
store.contentLang = store.contentLang === lang ? '{{DEFAULT_LANG}}' : lang;
me.urlPref = Common.Controllers.Desktop.helpUrl() + '/' + lang + '/';
me.urlPref = Common.Controllers.Desktop.helpUrl() + '/' + store.contentLang + '/';
store.url = me.urlPref + 'Contents.json';
store.fetch(config);
}

View file

@ -1988,7 +1988,7 @@ SSE.Views.FileMenuPanels.RecentFiles = Common.UI.BaseView.extend({
me.iFrame.src = '../../common/main/resources/help/download.html';
else {
store.contentLang = store.contentLang === lang ? '{{DEFAULT_LANG}}' : lang;
me.urlPref = Common.Controllers.Desktop.helpUrl() + '/' + lang + '/';
me.urlPref = Common.Controllers.Desktop.helpUrl() + '/' + store.contentLang + '/';
store.url = me.urlPref + 'Contents.json';
store.fetch(config);
}