Commit a51a173a authored by Ilya.Kirillov's avatar Ilya.Kirillov

Исправлен баг с выставлением текущего рана.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66543 954022d7-b5bf-4e40-9824-e11837661b57
parent 6229d173
......@@ -10123,7 +10123,7 @@ ParaRun.prototype.private_GetPosInParent = function(_Parent)
};
ParaRun.prototype.Make_ThisElementCurrent = function()
{
if (this.Paragraph)
if (this.Paragraph && true === this.Paragraph.Is_UseInDocument() && true === this.Is_UseInParagraph())
{
var ContentPos = this.Paragraph.Get_PosByElement(this);
ContentPos.Add(this.State.ContentPos);
......
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