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

Исправлен баг с удалением во время рецензирования (баг 30811).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66084 954022d7-b5bf-4e40-9824-e11837661b57
parent 177f7067
......@@ -2601,11 +2601,14 @@ Paragraph.prototype =
if (this.LogicDocument && true === this.LogicDocument.Is_TrackRevisions())
{
for (var Pos = StartPos; Pos <= EndPos; Pos++)
var _StartPos = Math.max(0, StartPos);
var _EndPos = Math.min(this.Content.length - 1, EndPos);
for (var Pos = _StartPos; Pos <= _EndPos; ++Pos)
{
this.Content[Pos].Selection_Remove();
this.Content[Pos].Selection_Remove();
}
this.CurPos.ContentPos = StartPos;
}
......
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