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

Bug 30257 - После удаления слайда не обновляется canvas

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64553 954022d7-b5bf-4e40-9824-e11837661b57
parent e0e6cf5c
...@@ -3274,7 +3274,7 @@ function CEditorPage(api) ...@@ -3274,7 +3274,7 @@ function CEditorPage(api)
this.m_oDrawingDocument.CheckGuiControlColors(bIsAttack); this.m_oDrawingDocument.CheckGuiControlColors(bIsAttack);
} }
this.GoToPage = function(lPageNum, isFromZoom) this.GoToPage = function(lPageNum, isFromZoom, bIsAttack)
{ {
var drDoc = this.m_oDrawingDocument; var drDoc = this.m_oDrawingDocument;
...@@ -3359,7 +3359,7 @@ function CEditorPage(api) ...@@ -3359,7 +3359,7 @@ function CEditorPage(api)
this.Thumbnails.LockMainObjType = false; this.Thumbnails.LockMainObjType = false;
if (this.m_oDrawingDocument.IsEmptyPresentation != _old_empty || _bIsUpdate) if (this.m_oDrawingDocument.IsEmptyPresentation != _old_empty || _bIsUpdate || bIsAttack === true)
this.OnScroll(); this.OnScroll();
} }
......
...@@ -3884,13 +3884,13 @@ CPresentation.prototype = ...@@ -3884,13 +3884,13 @@ CPresentation.prototype =
if(array[array.length-1] != oldLen-1) if(array[array.length-1] != oldLen-1)
{ {
//this.Set_CurPage(array[array.length-1]+1 - array.length); //this.Set_CurPage(array[array.length-1]+1 - array.length);
this.DrawingDocument.m_oWordControl.GoToPage(array[array.length-1]+1 - array.length); this.DrawingDocument.m_oWordControl.GoToPage(array[array.length-1]+1 - array.length, undefined, true);
} }
else else
{ {
//this.Set_CurPage(this.Slides.length -1); //this.Set_CurPage(this.Slides.length -1);
this.DrawingDocument.m_oWordControl.GoToPage(this.Slides.length -1); this.DrawingDocument.m_oWordControl.GoToPage(this.Slides.length -1, undefined, true);
} }
editor.sync_HideComment(); editor.sync_HideComment();
......
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