From 01ba97c2f1b18f92ef510c346565c79c97ce2399 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Wed, 1 Dec 2021 19:53:02 +0400 Subject: [PATCH] [SSE mobile] For Bug 53990 --- apps/spreadsheeteditor/mobile/src/controller/Error.jsx | 6 +----- apps/spreadsheeteditor/mobile/src/view/CellEditor.jsx | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/apps/spreadsheeteditor/mobile/src/controller/Error.jsx b/apps/spreadsheeteditor/mobile/src/controller/Error.jsx index 616358575..1c1c035a0 100644 --- a/apps/spreadsheeteditor/mobile/src/controller/Error.jsx +++ b/apps/spreadsheeteditor/mobile/src/controller/Error.jsx @@ -19,7 +19,6 @@ const ErrorController = inject('storeAppOptions')(({storeAppOptions, LoadingDocu const onError = (id, level, errData) => { const api = Common.EditorApi.get(); - api.asc_enableKeyEvents(false); if (id === Asc.c_oAscError.ID.LoadingScriptError) { f7.notification.create({ @@ -357,10 +356,7 @@ const ErrorController = inject('storeAppOptions')(({storeAppOptions, LoadingDocu buttons: [ { text: 'OK', - onClick: () => { - api.asc_enableKeyEvents(true); - config.callback; - } + onClick: () => config.callback } ] }).open(); diff --git a/apps/spreadsheeteditor/mobile/src/view/CellEditor.jsx b/apps/spreadsheeteditor/mobile/src/view/CellEditor.jsx index d05fa97b7..10c127c6d 100644 --- a/apps/spreadsheeteditor/mobile/src/view/CellEditor.jsx +++ b/apps/spreadsheeteditor/mobile/src/view/CellEditor.jsx @@ -109,7 +109,7 @@ const CellEditorView = props => {
-