You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by ke...@apache.org on 2004/03/26 08:43:22 UTC
cvs commit: jakarta-lucene-sandbox/contributions/javascript/queryValidator luceneQueryValidator.js
kelvint 2004/03/25 23:43:22
Modified: contributions/javascript/queryValidator
luceneQueryValidator.js
Log:
Fixed silly typo.
Revision Changes Path
1.8 +3 -3 jakarta-lucene-sandbox/contributions/javascript/queryValidator/luceneQueryValidator.js
Index: luceneQueryValidator.js
===================================================================
RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/javascript/queryValidator/luceneQueryValidator.js,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- luceneQueryValidator.js 16 Mar 2004 03:17:17 -0000 1.7
+++ luceneQueryValidator.js 26 Mar 2004 07:43:22 -0000 1.8
@@ -83,11 +83,11 @@
var i = query.indexOf(':');
if(i == -1)
{
- queryField.value = query.toLowerCase();
+ query.value = query.toLowerCase();
}
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();
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org