Commit 03b637c8 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

Bug 27950 - Не перерисовывается комментарий при автосейве

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60225 954022d7-b5bf-4e40-9824-e11837661b57
parent a68f6ab7
...@@ -1097,6 +1097,7 @@ CPresentation.prototype = ...@@ -1097,6 +1097,7 @@ CPresentation.prototype =
if(this.Slides[this.CurPage]) if(this.Slides[this.CurPage])
{ {
this.Slides[this.CurPage].graphicObjects.remove(Count, bOnlyText, bRemoveOnlySelection); this.Slides[this.CurPage].graphicObjects.remove(Count, bOnlyText, bRemoveOnlySelection);
this.Document_UpdateInterfaceState();
} }
}, },
...@@ -2371,7 +2372,7 @@ CPresentation.prototype = ...@@ -2371,7 +2372,7 @@ CPresentation.prototype =
//----------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------
// Функции для работы с таблицами // Функции для работы с таблицами
//----------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------
ApplyTableFunction : function(Function, bBefore, bAll, Rows, Cols) ApplyTableFunction : function(Function, bBefore, bAll, Cols, Rows)
{ {
if(this.Slides[this.CurPage]) if(this.Slides[this.CurPage])
{ {
...@@ -3752,6 +3753,7 @@ CPresentation.prototype = ...@@ -3752,6 +3753,7 @@ CPresentation.prototype =
this.Height = height; this.Height = height;
this.changeSlideSizeFunction(this.Width, this.Height); this.changeSlideSizeFunction(this.Width, this.Height);
this.Recalculate(); this.Recalculate();
this.Document_UpdateInterfaceState();
} }
}, },
...@@ -4346,12 +4348,14 @@ CPresentation.prototype = ...@@ -4346,12 +4348,14 @@ CPresentation.prototype =
if(comments[j].Id === Id) if(comments[j].Id === Id)
{ {
//this.Set_CurPage(i); //this.Set_CurPage(i);
this.DrawingDocument.m_oWordControl.GoToPage(i);
this.Slides[i].removeComment(Id); this.Slides[i].removeComment(Id);
if ( true === bSendEvent ) if ( true === bSendEvent )
editor.sync_RemoveComment( Id ); editor.sync_RemoveComment( Id );
this.Recalculate();
if(this.CurPage !== i)
{
this.DrawingDocument.m_oWordControl.GoToPage(i);
}
return; return;
} }
} }
......
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