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

Исправлен баг с некорректным добавлением формул в поля и гиперссылки (баг 31535).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67958 954022d7-b5bf-4e40-9824-e11837661b57
parent 07323d58
......@@ -129,7 +129,7 @@ ParaField.prototype.Add = function(Item)
this.Add_ToContent(CurPos + 1, NewElement, true);
var Elem = new ParaMath();
Elem.Root.Load_FromMenu(Item.Menu, this);
Elem.Root.Load_FromMenu(Item.Menu, this.Get_Paragraph());
Elem.Root.Correct_Content(true);
this.Add_ToContent(CurPos + 1, Elem, true);
......
......@@ -133,7 +133,7 @@ ParaHyperlink.prototype.Add = function(Item)
this.Add_ToContent(CurPos + 1, NewElement, true);
var Elem = new ParaMath();
Elem.Root.Load_FromMenu(Item.Menu, this);
Elem.Root.Load_FromMenu(Item.Menu, this.Get_Paragraph());
Elem.Root.Correct_Content(true);
this.Add_ToContent(CurPos + 1, Elem, true);
......
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