Commit 60048e58 authored by Ilya.Kirillov's avatar Ilya.Kirillov

Исправлен баг 19404.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48177 954022d7-b5bf-4e40-9824-e11837661b57
parent 0a116e1e
......@@ -613,7 +613,8 @@ CHistory.prototype =
{
State : Point1.State,
Items : Point1.Items.concat(Point2.Items),
Time : Point1.Time
Time : Point1.Time,
Additional : {}
};
this.Points.splice( this.Points.length - 2, 2, NewPoint );
......@@ -679,7 +680,7 @@ CHistory.prototype =
Is_ExtendDocumentToPos : function()
{
if ( undefined === this.Points[this.Index] || undefined === this.Points[this.Index].Additional.ExtendDocumentToPos )
if ( undefined === this.Points[this.Index] || undefined === this.Points[this.Index].Additional || undefined === this.Points[this.Index].Additional.ExtendDocumentToPos )
return false;
return true;
......
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