Commit 4dc04e61 authored by Ilya Kirillov's avatar Ilya Kirillov

Fix for showing notification about new changes.

parent 715a32b1
......@@ -15475,6 +15475,10 @@ CDocument.prototype.IsViewModeInReview = function()
{
return 0 !== this.ViewModeInReview.mode ? true : false;
};
CDocument.prototype.IsFastCollaboartionBeforeViewModeInReview = function()
{
return this.ViewModeInReview.isFastCollaboration;
};
function CDocumentSelectionState()
{
......
......@@ -5671,7 +5671,7 @@ background-repeat: no-repeat;\
asc_docs_api.prototype.sync_CollaborativeChanges = function()
{
if (true !== AscCommon.CollaborativeEditing.Is_Fast() && true !== this.WordControl.m_oLogicDocument.IsViewModeInReview())
if (true !== AscCommon.CollaborativeEditing.Is_Fast() && (true !== this.WordControl.m_oLogicDocument.IsViewModeInReview() || true !== this.WordControl.m_oLogicDocument.IsFastCollaboartionBeforeViewModeInReview()))
this.sendEvent("asc_onCollaborativeChanges");
};
......
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