Commit e5474a6e authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug with "deleted index" for a new undo.

parent 78e059ab
...@@ -752,7 +752,7 @@ CWordCollaborativeEditing.prototype.Undo = function() ...@@ -752,7 +752,7 @@ CWordCollaborativeEditing.prototype.Undo = function()
oChange.Set_FromUndoRedo(oChangeClass, oReverseChange, {Pos : nBinaryPos, Len : nBinaryLen}); oChange.Set_FromUndoRedo(oChangeClass, oReverseChange, {Pos : nBinaryPos, Len : nBinaryLen});
aSendingChanges.push(oChange.m_pData); aSendingChanges.push(oChange.m_pData);
} }
editor.CoAuthoringApi.saveChanges(aSendingChanges, 0, null); editor.CoAuthoringApi.saveChanges(aSendingChanges, null, null);
this.private_RestoreDocumentState(DocState); this.private_RestoreDocumentState(DocState);
......
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