[desktop] fix bug 59057
This commit is contained in:
parent
f90e8cb048
commit
778a58f118
|
@ -2115,7 +2115,7 @@ define([
|
||||||
me.iFrame.src = '../../common/main/resources/help/download.html';
|
me.iFrame.src = '../../common/main/resources/help/download.html';
|
||||||
else {
|
else {
|
||||||
store.contentLang = store.contentLang === lang ? '{{DEFAULT_LANG}}' : lang;
|
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.url = me.urlPref + 'Contents.json';
|
||||||
store.fetch(config);
|
store.fetch(config);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1614,7 +1614,7 @@ define([
|
||||||
me.iFrame.src = '../../common/main/resources/help/download.html';
|
me.iFrame.src = '../../common/main/resources/help/download.html';
|
||||||
else {
|
else {
|
||||||
store.contentLang = store.contentLang === lang ? '{{DEFAULT_LANG}}' : lang;
|
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.url = me.urlPref + 'Contents.json';
|
||||||
store.fetch(config);
|
store.fetch(config);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1988,7 +1988,7 @@ SSE.Views.FileMenuPanels.RecentFiles = Common.UI.BaseView.extend({
|
||||||
me.iFrame.src = '../../common/main/resources/help/download.html';
|
me.iFrame.src = '../../common/main/resources/help/download.html';
|
||||||
else {
|
else {
|
||||||
store.contentLang = store.contentLang === lang ? '{{DEFAULT_LANG}}' : lang;
|
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.url = me.urlPref + 'Contents.json';
|
||||||
store.fetch(config);
|
store.fetch(config);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue