Commit 186e78c6 authored by Ilya.Kirillov's avatar Ilya.Kirillov

Исправлен баг с передвижением автофигур


git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50678 954022d7-b5bf-4e40-9824-e11837661b57
parent d0810eb6
......@@ -4395,7 +4395,7 @@ ParaDrawing.prototype =
Add_ToDocument : function(NearPos, bRecalculate)
{
this.Parent = NearPos.Paragraph;
NearPos.Paragraph.Internal_Content_Add( NearPos.ContentPos, this );
NearPos.Paragraph.Internal_Content_Add( Math.min( NearPos.ContentPos, NearPos.Paragraph.Content.length - 2 ), this );
if ( false != bRecalculate )
editor.WordControl.m_oLogicDocument.Recalculate();
......
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