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

правка бага 20600 - [CoEdit] Ошибка в консоли при посылке автофигуры с текстом


git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51047 954022d7-b5bf-4e40-9824-e11837661b57
parent 7567cadb
...@@ -6728,8 +6728,7 @@ CDocumentContent.prototype = ...@@ -6728,8 +6728,7 @@ CDocumentContent.prototype =
if ( "undefined" == typeof(NextObj) ) if ( "undefined" == typeof(NextObj) )
NextObj = null; NextObj = null;
History.Add(g_oUndoRedoGraphicObjects, historyitem_AutoShapes_AddParagraph, null, null, new UndoRedoDataGraphicObjects(this.Get_Id(), new UndoRedoDataGOSingleProp(Position, NewObject.Get_Id())));
History.Add(g_oUndoRedoGraphicObjects, historyitem_DocumentContent_AddItem, null, null, new UndoRedoDataGraphicObjects(this.Get_Id(), new UndoRedoDataDocContentAddItem(Position, NewObject.Get_Id())));
this.Content.splice( Position, 0, NewObject ); this.Content.splice( Position, 0, NewObject );
NewObject.setParent( this ); NewObject.setParent( this );
......
...@@ -2711,6 +2711,7 @@ CShape.prototype = ...@@ -2711,6 +2711,7 @@ CShape.prototype =
{ {
this.txBody.calculateContent(); this.txBody.calculateContent();
this.calculateTransformTextMatrix(); this.calculateTransformTextMatrix();
this.recalculateCurPos();
} }
break; break;
} }
......
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