Fix checkpoint issues in sheets

pull/1/head
yflory 4 years ago
parent 937d42e267
commit 09af3f1c86

@ -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 () {

Loading…
Cancel
Save