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

Исправлен баг с добавлением гиперссылки к полю (баг 30800).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66071 954022d7-b5bf-4e40-9824-e11837661b57
parent d9a51772
......@@ -5520,12 +5520,18 @@ Paragraph.prototype =
Hyperlink.Add_ToContent( HyperPos++, this.Content[CurPos] );
}
if (0 === Hyperlink.Content.length)
{
Hyperlink.Add_ToContent(0, new ParaRun(this, false));
}
this.Internal_Content_Remove2( StartPos + 1, EndPos - StartPos );
this.Internal_Content_Add( StartPos + 1, Hyperlink );
if (null !== NewElementE)
this.Internal_Content_Add(StartPos + 2, NewElementE);
this.Selection_Remove();
this.Selection.StartPos = StartPos + 1;
this.Selection.EndPos = StartPos + 1;
......
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