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

Исправлен баг с поиском (баг 21677).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51088 954022d7-b5bf-4e40-9824-e11837661b57
parent 6997c5a0
......@@ -671,14 +671,20 @@ CDocument.prototype =
// Останавливаем поиск
if ( this.SearchEngine.Count > 0 && false != this.SearchEngine.ClearOnRecalc )
if ( false != this.SearchEngine.ClearOnRecalc )
{
var bOldSearch = ( this.SearchEngine.Count > 0 ? true : false );
this.SearchEngine.Clear();
if ( true === bOldSearch )
{
editor.sync_SearchEndCallback();
this.DrawingDocument.ClearCachePages();
this.DrawingDocument.FirePaint();
}
}
// Обновляем позицию курсора
this.NeedUpdateTarget = 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