[SSE mobile] Fix Bug 53990
This commit is contained in:
parent
bac52e24c6
commit
2aca892017
|
@ -18,7 +18,9 @@ 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({
|
||||
title: _t.criticalErrorTitle,
|
||||
|
@ -31,8 +33,6 @@ const ErrorController = inject('storeAppOptions')(({storeAppOptions, LoadingDocu
|
|||
Common.Notifications.trigger('preloader:close');
|
||||
Common.Notifications.trigger('preloader:endAction', Asc.c_oAscAsyncActionType['BlockInteraction'], LoadingDocument,true);
|
||||
|
||||
const api = Common.EditorApi.get();
|
||||
|
||||
const config = {
|
||||
closable: false
|
||||
};
|
||||
|
@ -357,7 +357,10 @@ const ErrorController = inject('storeAppOptions')(({storeAppOptions, LoadingDocu
|
|||
buttons: [
|
||||
{
|
||||
text: 'OK',
|
||||
onClick: config.callback
|
||||
onClick: () => {
|
||||
api.asc_enableKeyEvents(true);
|
||||
config.callback;
|
||||
}
|
||||
}
|
||||
]
|
||||
}).open();
|
||||
|
|
Loading…
Reference in a new issue