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

Исправлен баг, возникающий при удалении колонок (баг 27884).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60227 954022d7-b5bf-4e40-9824-e11837661b57
parent bb34cf94
...@@ -12641,7 +12641,7 @@ CTable.prototype = ...@@ -12641,7 +12641,7 @@ CTable.prototype =
var CurRow = 0; var CurRow = 0;
var Row = this.Content[CurRow]; var Row = this.Content[CurRow];
var CellsCount = Row.Get_CellsCount(); var CellsCount = Row.Get_CellsCount();
var CurCell = Math.min( Delete_info[0][0], CellsCount - 1 ); var CurCell = Delete_info[0][0] === undefined ? CellsCount - 1 : Math.min(Delete_info[0][0], CellsCount - 1);
this.CurCell = Row.Get_Cell( CurCell ); this.CurCell = Row.Get_Cell( CurCell );
this.CurCell.Content.Cursor_MoveToStartPos(); this.CurCell.Content.Cursor_MoveToStartPos();
......
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