Commit e0c0d6ee 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@68487 954022d7-b5bf-4e40-9824-e11837661b57
parent 359820ba
...@@ -1430,6 +1430,7 @@ CTable.prototype.private_RecalculatePageXY = function(CurPage) ...@@ -1430,6 +1430,7 @@ CTable.prototype.private_RecalculatePageXY = function(CurPage)
} }
var TempMaxTopBorder = this.Get_MaxTopBorder(FirstRow); var TempMaxTopBorder = this.Get_MaxTopBorder(FirstRow);
this.Pages.length = Math.max(CurPage, 0);
if (0 === CurPage) if (0 === CurPage)
{ {
this.Pages[CurPage] = new CTablePage(this.X, this.Y, this.XLimit, this.YLimit, FirstRow, TempMaxTopBorder); this.Pages[CurPage] = new CTablePage(this.X, this.Y, this.XLimit, this.YLimit, FirstRow, TempMaxTopBorder);
......
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