Commit 44de7cd2 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 34247

parent a4e99d68
...@@ -957,7 +957,11 @@ CCollaborativeEditingBase.prototype.private_RestoreDocumentState = function(DocS ...@@ -957,7 +957,11 @@ CCollaborativeEditingBase.prototype.private_RestoreDocumentState = function(DocS
else if (oClass instanceof AscCommonWord.Paragraph) else if (oClass instanceof AscCommonWord.Paragraph)
mapParagraphs[oClass.Get_Id()] = oClass; mapParagraphs[oClass.Get_Id()] = oClass;
else if (oClass.IsParagraphContentElement && true === oClass.IsParagraphContentElement() && true === oChange.IsContentChange() && oClass.Get_Paragraph()) else if (oClass.IsParagraphContentElement && true === oClass.IsParagraphContentElement() && true === oChange.IsContentChange() && oClass.Get_Paragraph())
{
mapParagraphs[oClass.Get_Paragraph().Get_Id()] = oClass.Get_Paragraph(); mapParagraphs[oClass.Get_Paragraph().Get_Id()] = oClass.Get_Paragraph();
if (oClass instanceof AscCommonWord.ParaRun)
mapRuns[oClass.Get_Id()] = oClass;
}
else if (oClass instanceof AscCommonWord.ParaDrawing) else if (oClass instanceof AscCommonWord.ParaDrawing)
mapDrawings[oClass.Get_Id()] = oClass; mapDrawings[oClass.Get_Id()] = oClass;
else if (oClass instanceof AscCommonWord.ParaRun) else if (oClass instanceof AscCommonWord.ParaRun)
......
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