Commit 705fbc8b 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@66746 954022d7-b5bf-4e40-9824-e11837661b57
parent 4a000b10
......@@ -992,7 +992,6 @@ ParaMath.prototype.Remove = function(Direction, bOnAddText)
var oStartElement = oContent.getElem(nStartPos);
var oEndElement = oContent.getElem(nEndPos);
this.Selection_Remove();
if (true === TrackRevisions)
{
for (var CurPos = nEndPos; CurPos >= nStartPos; --CurPos)
......@@ -1019,6 +1018,7 @@ ParaMath.prototype.Remove = function(Direction, bOnAddText)
}
}
this.Selection_Remove();
if (Direction < 0)
{
oContent.CurPos = nStartPos;
......@@ -1047,6 +1047,7 @@ ParaMath.prototype.Remove = function(Direction, bOnAddText)
else
oContent.Remove_FromContent(nStartPos, 1);
this.Selection_Remove();
oContent.CurPos = nStartPos;
}
oContent.Correct_Content();
......
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