From e29e00b74e7d2744826ce0e746d27ec32d047170 Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Mon, 7 Feb 2022 15:28:37 +0300 Subject: [PATCH] [DE] Fix bug 55354 --- apps/documenteditor/main/app/controller/LeftMenu.js | 1 + apps/documenteditor/main/app/template/LeftMenu.template | 2 +- apps/documenteditor/main/app/view/LeftMenu.js | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/controller/LeftMenu.js b/apps/documenteditor/main/app/controller/LeftMenu.js index 9d95cd407..23b65756c 100644 --- a/apps/documenteditor/main/app/controller/LeftMenu.js +++ b/apps/documenteditor/main/app/controller/LeftMenu.js @@ -775,6 +775,7 @@ define([ this.api.asc_enableKeyEvents(true); } else if (this.leftMenu.btnThumbnails.isActive()) { this.leftMenu.btnThumbnails.toggle(false); + this.leftMenu.panelThumbnails.hide(); this.leftMenu.onBtnMenuClick(this.leftMenu.btnThumbnails); } } diff --git a/apps/documenteditor/main/app/template/LeftMenu.template b/apps/documenteditor/main/app/template/LeftMenu.template index 27eef5966..ea622cef6 100644 --- a/apps/documenteditor/main/app/template/LeftMenu.template +++ b/apps/documenteditor/main/app/template/LeftMenu.template @@ -17,7 +17,7 @@ - + \ No newline at end of file diff --git a/apps/documenteditor/main/app/view/LeftMenu.js b/apps/documenteditor/main/app/view/LeftMenu.js index 69ef3d49f..a6ad60492 100644 --- a/apps/documenteditor/main/app/view/LeftMenu.js +++ b/apps/documenteditor/main/app/view/LeftMenu.js @@ -329,6 +329,10 @@ define([ this.panelNavigation['hide'](); this.btnNavigation.toggle(false, true); } + if (this.panelThumbnails) { + this.panelThumbnails['hide'](); + this.btnThumbnails.toggle(false, true); + } } },