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

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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64186 954022d7-b5bf-4e40-9824-e11837661b57
parent 3a55e2bc
......@@ -1384,7 +1384,7 @@ CDocumentContent.prototype =
for ( var Index = 0; Index < Count; Index++ )
{
var Element = this.Content[Index];
if (type_Table === Element.GetType() && true != Element.Is_Inline() && Element.Pages.length > PageNum - Element.PageNum)
if (type_Table === Element.GetType() && true != Element.Is_Inline() && Element.Pages.length > PageNum - Element.PageNum && PageNum - Element.PageNum >= 0)
{
var TableBounds = Element.Get_PageBounds( PageNum - Element.PageNum );
if ( TableBounds.Bottom > Bounds.Bottom )
......
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