Fix checkpoint issues in sheets

pull/1/head
yflory 2021-05-03 16:37:53 +02:00
parent 937d42e267
commit 09af3f1c86
1 changed files with 2 additions and 4 deletions

View File

@ -2804,10 +2804,8 @@ define([
checkNewCheckpoint();
});
};
var isModified = editor.asc_isDocumentModified || function () {
return editor.isDocumentModify;
};
if (isModified()) {
var editing = editor.asc_isDocumentModified ? editor.asc_isDocumentModified() : editor.isDocumentModify;
if (editing) {
setEditable(false);
APP.unsavedLocks = myLocks;
APP.onStrictSaveChanges = function () {