Commit 69b438cb authored by Ilya.Kirillov's avatar Ilya.Kirillov

Исправлен баг с принятием/отклонением изменений внутри формул (баг 31154).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66953 954022d7-b5bf-4e40-9824-e11837661b57
parent fc21968b
......@@ -1651,6 +1651,12 @@ CMathContent.prototype.private_CorrectSelectionPos = function()
};
CMathContent.prototype.private_CorrectCurPos = function()
{
if (this.Content.length <= 0)
{
this.CurPos = 0;
return;
}
if (this.CurPos > this.Content.length - 1)
{
this.CurPos = this.Content.length - 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