Commit d6bc5872 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #33910

parent 8e17f031
......@@ -760,7 +760,7 @@ CWordCollaborativeEditing.prototype.Undo = function()
{
var oDocumentContent = mapDocumentContents[sId];
var nContentLen = oDocumentContent.Content.length;
if (nContentLen <= 0 || type_Paragraph !== oDocumentContent.Content[nContentLen - 1].GetType())
if (nContentLen <= 0 || AscCommonWord.type_Paragraph !== oDocumentContent.Content[nContentLen - 1].GetType())
{
var oNewParagraph = new AscCommonWord.Paragraph(oLogicDocument.Get_DrawingDocument(), oDocumentContent, 0, 0, 0, 0, 0, false);
oDocumentContent.Add_ToContent(nContentLen, oNewParagraph);
......
......@@ -13570,6 +13570,7 @@ CParagraphRevisionsChangesChecker.prototype.Get_PrChangeUserId = function()
window['AscCommonWord'] = window['AscCommonWord'] || {};
window['AscCommonWord'].Paragraph = Paragraph;
window['AscCommonWord'].UnknownValue = UnknownValue;
window['AscCommonWord'].type_Paragraph = type_Paragraph;
CRevisionsChange.prototype['get_UserId'] = CRevisionsChange.prototype.get_UserId;
CRevisionsChange.prototype['put_UserId'] = CRevisionsChange.prototype.put_UserId;
......
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