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

Bug 26873 - Происходит перестроение линейки, после клика по "resolve" в модальном окне комментария

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59880 954022d7-b5bf-4e40-9824-e11837661b57
parent fc451271
......@@ -4203,7 +4203,10 @@ CPresentation.prototype =
}
if(isRealObject(check_slide))
{
this.DrawingDocument.m_oWordControl.GoToPage(slide_num);
if(slide_num !== this.CurPage)
{
this.DrawingDocument.m_oWordControl.GoToPage(slide_num);
}
this.Slides[this.CurPage].changeComment( Id, CommentData );
editor.sync_ChangeCommentData( Id, CommentData );
this.Recalculate()
......@@ -4264,7 +4267,10 @@ CPresentation.prototype =
if(comments[j].Id === Id)
{
//this.Set_CurPage(i);
this.DrawingDocument.m_oWordControl.GoToPage(i);
if(this.CurPage !== i)
{
this.DrawingDocument.m_oWordControl.GoToPage(i);
}
var Coords = this.DrawingDocument.ConvertCoordsToCursorWR_Comment(comments[j].x, comments[j].y, i);
this.Slides[i].showComment(Id, Coords.X, Coords.Y);
......
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