Commit cf062104 authored by Alexander.Trofimov's avatar Alexander.Trofimov

move call Continue_FastCollaborativeEditing to autoSave function

parent b0fbd020
......@@ -2854,8 +2854,6 @@ function CEditorPage(api)
_c.m_nCurrentTimeClearCache = 0;
_c.m_oDrawingDocument.CheckFontCache();
}
this.m_oLogicDocument.Continue_FastCollaborativeEditing();
};
this.OnScroll = function()
{
......
......@@ -1906,6 +1906,9 @@ background-repeat: no-repeat;\
if (this.canUnlockDocument) {
this.asc_Save(true);
this.lastSaveTime = _curTime;
} else {
if (AscCommon.CollaborativeEditing.Is_Fast() && !AscCommon.CollaborativeEditing.Is_SingleUser()) {
this.WordControl.m_oLogicDocument.Continue_FastCollaborativeEditing();
} else {
var _bIsWaitScheme = false;
if (this.WordControl.m_oDrawingDocument &&
......@@ -1929,6 +1932,7 @@ background-repeat: no-repeat;\
}
}
}
}
};
asc_docs_api.prototype.asc_Save = function(isAutoSave)
{
......
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