Merge pull request #1341 from ONLYOFFICE/feature/bug-fixes
Feature/bug fixes
This commit is contained in:
commit
983c2a94a1
|
@ -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();
|
||||
|
|
|
@ -109,7 +109,7 @@ const CellEditorView = props => {
|
|||
</div>
|
||||
<div className="ce-group group--content" style={contentStyle}>
|
||||
<div id="idx-list-target" className="target-function-list"></div>
|
||||
<textarea id="idx-cell-content" spellCheck="false" />
|
||||
<textarea id="idx-cell-content" spellCheck="false" onFocus={(e) => {wsLock && e.target.blur()}}/>
|
||||
</div>
|
||||
<div className="ce-group">
|
||||
<Link icon="caret" onClick={expandClick} />
|
||||
|
|
Loading…
Reference in a new issue