Commit 20bc6c1b authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с drag-n-drop в автофигурах.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56774 954022d7-b5bf-4e40-9824-e11837661b57
parent 379c7a3f
...@@ -3999,7 +3999,7 @@ CDocumentContent.prototype = ...@@ -3999,7 +3999,7 @@ CDocumentContent.prototype =
this.Selection.EndPos = DstIndex + ElementsCount - 1; this.Selection.EndPos = DstIndex + ElementsCount - 1;
} }
this.Parent.Set_CurrentElement(false); this.Parent.Set_CurrentElement(false, this.Get_StartPage_Absolute());
}, },
Set_ParagraphAlign : function(Align) Set_ParagraphAlign : function(Align)
...@@ -7361,7 +7361,7 @@ CDocumentContent.prototype = ...@@ -7361,7 +7361,7 @@ CDocumentContent.prototype =
this.DrawingDocument.TargetEnd(); this.DrawingDocument.TargetEnd();
this.DrawingDocument.SetCurrentPage( this.Get_StartPage_Absolute() + this.CurPage ); this.DrawingDocument.SetCurrentPage( this.Get_StartPage_Absolute() + this.CurPage );
this.Parent.Set_CurrentElement(true); this.Parent.Set_CurrentElement(true, this.Get_StartPage_Absolute() + this.CurPage);
var HdrFtr = this.Is_HdrFtr(true); var HdrFtr = this.Is_HdrFtr(true);
if ( null != HdrFtr ) if ( null != HdrFtr )
......
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