From 9f34062d32e62fdc1f136783820d948ca790ef2d Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 20 Jun 2017 12:53:18 +0300 Subject: [PATCH] Bug with closing File menu (when search dialog was opened before). --- apps/documenteditor/main/app/controller/LeftMenu.js | 2 +- apps/presentationeditor/main/app/controller/LeftMenu.js | 2 +- apps/spreadsheeteditor/main/app/controller/LeftMenu.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/documenteditor/main/app/controller/LeftMenu.js b/apps/documenteditor/main/app/controller/LeftMenu.js index ec5ee750d..8bd070b03 100644 --- a/apps/documenteditor/main/app/controller/LeftMenu.js +++ b/apps/documenteditor/main/app/controller/LeftMenu.js @@ -537,7 +537,7 @@ define([ if ( state == 'show' ) this.dlgSearch.suspendKeyEvents(); else - Common.Utils.asyncCall(this.dlgSearch.resumeKeyEvents); + Common.Utils.asyncCall(this.dlgSearch.resumeKeyEvents, this.dlgSearch); } }, diff --git a/apps/presentationeditor/main/app/controller/LeftMenu.js b/apps/presentationeditor/main/app/controller/LeftMenu.js index dca0258b0..00c9fc3a1 100644 --- a/apps/presentationeditor/main/app/controller/LeftMenu.js +++ b/apps/presentationeditor/main/app/controller/LeftMenu.js @@ -430,7 +430,7 @@ define([ if ( state == 'show' ) this.dlgSearch.suspendKeyEvents(); else - Common.Utils.asyncCall(this.dlgSearch.resumeKeyEvents); + Common.Utils.asyncCall(this.dlgSearch.resumeKeyEvents, this.dlgSearch); } }, diff --git a/apps/spreadsheeteditor/main/app/controller/LeftMenu.js b/apps/spreadsheeteditor/main/app/controller/LeftMenu.js index 3415ade0d..217de4a66 100644 --- a/apps/spreadsheeteditor/main/app/controller/LeftMenu.js +++ b/apps/spreadsheeteditor/main/app/controller/LeftMenu.js @@ -589,7 +589,7 @@ define([ if ( state == 'show' ) this.dlgSearch.suspendKeyEvents(); else - Common.Utils.asyncCall(this.dlgSearch.resumeKeyEvents); + Common.Utils.asyncCall(this.dlgSearch.resumeKeyEvents, this.dlgSearch); } },