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

Исправлен баг с поиском в таблицах (баг 20265).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49948 954022d7-b5bf-4e40-9824-e11837661b57
parent edfb9d9d
......@@ -668,6 +668,9 @@ CTable.prototype.Search_GetId = function(bNext, bCurrent)
else
{
Id = this.CurCell.Content.Search_GetId(bNext, true);
if ( Id != null )
return Id;
CurRow = this.CurCell.Row.Index;
CurCell = this.CurCell.Index;
}
......@@ -699,7 +702,7 @@ CTable.prototype.Search_GetId = function(bNext, bCurrent)
for ( var _CurCell = StartCell; _CurCell >= 0; _CurCell-- )
{
var Cell = Row.Get_Cell(_CurCell);
Id = Cell.Content.Search_GetId( true, false );
Id = Cell.Content.Search_GetId( false, false );
if ( null != Id )
return Id;
}
......@@ -734,7 +737,7 @@ CTable.prototype.Search_GetId = function(bNext, bCurrent)
for ( var _CurCell = Cells_Count - 1; _CurCell >= 0; _CurCell-- )
{
var Cell = Row.Get_Cell(_CurCell);
Id = Cell.Content.Search_GetId( true, false );
Id = Cell.Content.Search_GetId( false, false );
if ( null != Id )
return Id;
}
......
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