From 778a58f1189303d9644aa0b317d5748462dcc88a Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Fri, 16 Sep 2022 16:32:15 +0300 Subject: [PATCH] [desktop] fix bug 59057 --- apps/documenteditor/main/app/view/FileMenuPanels.js | 2 +- apps/presentationeditor/main/app/view/FileMenuPanels.js | 2 +- apps/spreadsheeteditor/main/app/view/FileMenuPanels.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/main/app/view/FileMenuPanels.js b/apps/documenteditor/main/app/view/FileMenuPanels.js index eb5ab2551..46f03cfca 100644 --- a/apps/documenteditor/main/app/view/FileMenuPanels.js +++ b/apps/documenteditor/main/app/view/FileMenuPanels.js @@ -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); } diff --git a/apps/presentationeditor/main/app/view/FileMenuPanels.js b/apps/presentationeditor/main/app/view/FileMenuPanels.js index bc3690f07..dcf044ba1 100644 --- a/apps/presentationeditor/main/app/view/FileMenuPanels.js +++ b/apps/presentationeditor/main/app/view/FileMenuPanels.js @@ -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); } diff --git a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js index b39b9267c..471066cd4 100644 --- a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js +++ b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js @@ -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); }