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

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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66327 954022d7-b5bf-4e40-9824-e11837661b57
parent 72c2bef0
......@@ -14859,7 +14859,15 @@ CDocument.prototype.Load_DocumentStateAfterLoadChanges = function(State)
if (true !== this.DrawingObjects.Load_DocumentStateAfterLoadChanges(State))
{
this.CurPos.Type = docpostype_Content;
this.Cursor_MoveAt(State.X ? State.X : 0, State.Y ? State.Y : 0, false);
var ContentPos = 0;
if (this.Pages[this.CurPage])
ContentPos = this.Pages[this.CurPage].Pos + 1;
else
ContentPos = 0;
ContentPos = Math.max(0, Math.min(this.Content.length - 1, ContentPos));
this.CurPos.ContentPos = ContentPos;
this.Content[ContentPos].Cursor_MoveToStartPos(false);
}
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