Commit 1d5899d3 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Не добавлялись комментарии в меню при открытии

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60228 954022d7-b5bf-4e40-9824-e11837661b57
parent 524cd20b
......@@ -3734,7 +3734,24 @@ asc_docs_api.prototype.OpenDocumentEndCallback = function()
CollaborativeEditing.Release_Locks();
this.bNoSendComments = false;
if(OtherChanges)
{
var _slides = this.WordControl.m_oLogicDocument.Slides;
var _slidesCount = _slides.length;
for (var i = 0; i < _slidesCount; i++)
{
var slideComments = _slides[i].slideComments;
if(slideComments)
{
var _comments = slideComments.comments;
var _commentsCount = _comments.length;
for (var j = 0; j < _commentsCount; j++)
{
this.sync_AddComment(_comments[j].Get_Id(), _comments[j].Data );
}
}
}
return;
}
}
}
this.WordControl.m_oLogicDocument.Recalculate({Drawings: {All:true, Map: {}}});
......
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