From 1035069d92e5e6c44e890bf413285975270e0972 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Mon, 10 Oct 2022 00:32:24 +0300 Subject: [PATCH] [DE] fix bug 59315 --- apps/documenteditor/main/app/controller/LeftMenu.js | 2 +- apps/documenteditor/main/app/view/FileMenu.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/main/app/controller/LeftMenu.js b/apps/documenteditor/main/app/controller/LeftMenu.js index 956af1bed..40597ffd5 100644 --- a/apps/documenteditor/main/app/controller/LeftMenu.js +++ b/apps/documenteditor/main/app/controller/LeftMenu.js @@ -293,7 +293,7 @@ define([ } })).show(); break; - case 'help': + case 'external-help': close_menu = !!isopts; break; default: close_menu = false; diff --git a/apps/documenteditor/main/app/view/FileMenu.js b/apps/documenteditor/main/app/view/FileMenu.js index 8d1f840f5..8a92b0750 100644 --- a/apps/documenteditor/main/app/view/FileMenu.js +++ b/apps/documenteditor/main/app/view/FileMenu.js @@ -68,7 +68,7 @@ define([ var panel = this.panels[item.options.action]; if (item.options.action === 'help') { if ( panel.usedHelpCenter === true && navigator.onLine ) { - this.fireEvent('item:click', [this, item.options.action, true]); + this.fireEvent('item:click', [this, 'external-help', true]); window.open(panel.urlHelpCenter, '_blank'); return; }