From 567cfdcd5d2a607e787dfd61d050a1b9d7a369a3 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Wed, 12 Oct 2022 23:02:44 +0300 Subject: [PATCH] [desktop] for bug 59316 --- apps/documenteditor/main/app/view/FileMenuPanels.js | 2 +- .../presentationeditor/main/app/view/FileMenuPanels.js | 2 +- apps/spreadsheeteditor/main/app/view/FileMenuPanels.js | 2 +- build/Gruntfile.js | 10 ++++++++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/apps/documenteditor/main/app/view/FileMenuPanels.js b/apps/documenteditor/main/app/view/FileMenuPanels.js index 4a79cd855..4b7ded0fb 100644 --- a/apps/documenteditor/main/app/view/FileMenuPanels.js +++ b/apps/documenteditor/main/app/view/FileMenuPanels.js @@ -1989,7 +1989,7 @@ define([ this.menu = options.menu; this.urlPref = 'resources/help/{{DEFAULT_LANG}}/'; this.openUrl = null; - this.urlHelpCenter = '{{HELP_CENTER_WEB_EDITORS}}'; + this.urlHelpCenter = '{{HELP_CENTER_WEB_DE}}'; this.en_data = [ {"src": "ProgramInterface/ProgramInterface.htm", "name": "Introducing Document Editor user interface", "headername": "Program Interface"}, diff --git a/apps/presentationeditor/main/app/view/FileMenuPanels.js b/apps/presentationeditor/main/app/view/FileMenuPanels.js index 1d4951096..8191b1a80 100644 --- a/apps/presentationeditor/main/app/view/FileMenuPanels.js +++ b/apps/presentationeditor/main/app/view/FileMenuPanels.js @@ -1505,7 +1505,7 @@ define([ this.menu = options.menu; this.urlPref = 'resources/help/{{DEFAULT_LANG}}/'; this.openUrl = null; - this.urlHelpCenter = '{{HELP_CENTER_WEB_EDITORS}}'; + this.urlHelpCenter = '{{HELP_CENTER_WEB_PE}}'; this.en_data = [ {"src": "ProgramInterface/ProgramInterface.htm", "name": "Introducing Presentation Editor user interface", "headername": "Program Interface"}, diff --git a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js index 4634d3360..aae0402bf 100644 --- a/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js +++ b/apps/spreadsheeteditor/main/app/view/FileMenuPanels.js @@ -1877,7 +1877,7 @@ SSE.Views.FileMenuPanels.RecentFiles = Common.UI.BaseView.extend({ this.menu = options.menu; this.urlPref = 'resources/help/{{DEFAULT_LANG}}/'; this.openUrl = null; - this.urlHelpCenter = '{{HELP_CENTER_WEB_EDITORS}}'; + this.urlHelpCenter = '{{HELP_CENTER_WEB_SSE}}'; this.en_data = [ {"src": "ProgramInterface/ProgramInterface.htm", "name": "Introducing Spreadsheet Editor user interface", "headername": "Program Interface"}, diff --git a/build/Gruntfile.js b/build/Gruntfile.js index c4f166801..480ba124c 100644 --- a/build/Gruntfile.js +++ b/build/Gruntfile.js @@ -68,8 +68,14 @@ module.exports = function(grunt) { from: /\{\{HELP_URL\}\}/g, to: _encode(process.env.HELP_URL) || 'https://helpcenter.onlyoffice.com' }, { - from: /\{\{HELP_CENTER_WEB_EDITORS\}\}/g, - to: _encode(process.env.HELP_CENTER_WEB_EDITORS) || 'https://helpcenter.onlyoffice.com/userguides/docs-index.aspx' + from: /\{\{HELP_CENTER_WEB_DE\}\}/g, + to: _encode(process.env.HELP_CENTER_WEB_DE) || _encode(process.env.HELP_CENTER_WEB_EDITORS) || 'https://helpcenter.onlyoffice.com/userguides/docs-de.aspx' + }, { + from: /\{\{HELP_CENTER_WEB_SSE\}\}/g, + to: _encode(process.env.HELP_CENTER_WEB_SSE) || _encode(process.env.HELP_CENTER_WEB_EDITORS) || 'https://helpcenter.onlyoffice.com/userguides/docs-se.aspx' + }, { + from: /\{\{HELP_CENTER_WEB_PE\}\}/g, + to: _encode(process.env.HELP_CENTER_WEB_PE) || _encode(process.env.HELP_CENTER_WEB_EDITORS) || 'https://helpcenter.onlyoffice.com/userguides/docs-pe.aspx' }, { from: /\{\{DEFAULT_LANG\}\}/g, to: _encode(process.env.DEFAULT_LANG) || 'en'