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

Исправлен баг с учетом регистра в поиске (баг 21975).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51469 954022d7-b5bf-4e40-9824-e11837661b57
parent ba7f00cf
......@@ -23,7 +23,7 @@ function CParagraphSearchElement(StartPos, EndPos, Type)
function CDocumentSearch()
{
this.Text = "";
this.IsMatchCase = false;
this.MatchCase = false;
this.Id = 0;
this.Count = 0;
......@@ -38,13 +38,13 @@ CDocumentSearch.prototype =
{
Set : function(Text, Props)
{
this.Text = Text;
this.IsMatchCase = Props.IsMatchCase;
this.Text = Text;
this.MatchCase = Props.MatchCase;
},
Compare : function(Text, Props)
{
if ( this.Text === Text && this.IsMatchCase === Props.IsMatchCase )
if ( this.Text === Text && this.MatchCase === Props.MatchCase )
return true;
return false;
......@@ -52,8 +52,8 @@ CDocumentSearch.prototype =
Clear : function()
{
this.Text = "";
this.IsMatchCase = false;
this.Text = "";
this.MatchCase = false;
// Очищаем предыдущие элементы поиска
for ( var Id in this.Elements )
......
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