mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[bug] Fix startForceSave with forms
This commit is contained in:
@ -783,8 +783,9 @@ let startForceSave = co.wrap(function*(docId, type, opt_userdata, opt_userId, op
|
||||
return !!JSON.parse(currentValue).encrypted;
|
||||
});
|
||||
if (!hasEncrypted) {
|
||||
startedForceSave = commonDefines.c_oAscForceSaveTypes.Form === type;
|
||||
if (!startedForceSave) {
|
||||
if (commonDefines.c_oAscForceSaveTypes.Form === type) {
|
||||
startedForceSave = yield editorData.getForceSave(docId);
|
||||
} else {
|
||||
startedForceSave = yield editorData.checkAndStartForceSave(docId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user