Fixed silly typo.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150968 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kelvin Tan 2004-03-26 07:43:22 +00:00
parent 8afe28b9f7
commit b89cb9ac38
1 changed files with 2 additions and 2 deletions

View File

@ -83,11 +83,11 @@ function doCheckLuceneQueryValue(query)
var i = query.indexOf(':'); var i = query.indexOf(':');
if(i == -1) if(i == -1)
{ {
queryField.value = query.toLowerCase(); query.value = query.toLowerCase();
} }
else // found a wildcard field search else // found a wildcard field search
{ {
queryField.value = query.substring(0, i) + query.substring(i).toLowerCase(); query.value = query.substring(0, i) + query.substring(i).toLowerCase();
} }
} }
} }