From f9b59d06556cfaed9aa02effcd473630387957d2 Mon Sep 17 00:00:00 2001 From: Polina Date: Wed, 18 Feb 2026 14:31:23 +0300 Subject: [PATCH] Revert "check if modal is opened before closing file menu" This reverts commit d65d08c495d7e1f5f492bd498f845ff7963096cf. --- apps/documenteditor/main/app/controller/LeftMenu.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/documenteditor/main/app/controller/LeftMenu.js b/apps/documenteditor/main/app/controller/LeftMenu.js index e966c1618d..a6ae54e3b6 100644 --- a/apps/documenteditor/main/app/controller/LeftMenu.js +++ b/apps/documenteditor/main/app/controller/LeftMenu.js @@ -901,8 +901,6 @@ define([ btnSearch.pressed && btnSearch.toggle(false); if ( this.leftMenu.menuFile.isVisible() ) { - if (Common.Utils.ModalWindow.isVisible()) - return true; if (Common.UI.HintManager.needCloseFileMenu()) this.leftMenu.menuFile.hide(); return false;