Commit 6d2a9345 authored by Alexander.Trofimov's avatar Alexander.Trofimov

move call Continue_FastCollaborativeEditing to autoSave function

parent 0aa8dd28
...@@ -3311,7 +3311,6 @@ function CEditorPage(api) ...@@ -3311,7 +3311,6 @@ function CEditorPage(api)
oThis.m_oLogicDocument.Continue_CheckSpelling(); oThis.m_oLogicDocument.Continue_CheckSpelling();
oThis.m_oLogicDocument.Continue_TrackRevisions(); oThis.m_oLogicDocument.Continue_TrackRevisions();
oThis.m_oLogicDocument.Continue_FastCollaborativeEditing();
}; };
this.OnScroll = function() this.OnScroll = function()
{ {
......
...@@ -1880,6 +1880,9 @@ background-repeat: no-repeat;\ ...@@ -1880,6 +1880,9 @@ background-repeat: no-repeat;\
if (this.canUnlockDocument) { if (this.canUnlockDocument) {
this.asc_Save(true); this.asc_Save(true);
this.lastSaveTime = _curTime; this.lastSaveTime = _curTime;
} else {
if (AscCommon.CollaborativeEditing.Is_Fast()) {
this.WordControl.m_oLogicDocument.Continue_FastCollaborativeEditing();
} else { } else {
var _bIsWaitScheme = false; var _bIsWaitScheme = false;
if (History.Points && History.Index >= 0 && History.Index < History.Points.length) { if (History.Points && History.Index >= 0 && History.Index < History.Points.length) {
...@@ -1901,6 +1904,7 @@ background-repeat: no-repeat;\ ...@@ -1901,6 +1904,7 @@ background-repeat: no-repeat;\
} }
} }
} }
}
}; };
asc_docs_api.prototype.asc_Save = function(isAutoSave, isUndoRequest) asc_docs_api.prototype.asc_Save = function(isAutoSave, isUndoRequest)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment