[Rt-commit] rt branch, owner-autocomplete, updated. rt-3.8.8-491-g6b9a774
Thomas Sibley
trs at bestpractical.com
Fri Aug 20 15:40:16 EDT 2010
The branch, owner-autocomplete has been updated
via 6b9a774321978b8ae2eaf534fa6405324a75c503 (commit)
from 136da43bc149c9254a809165c50c07f154e25b2e (commit)
Summary of changes:
share/html/Elements/SelectOwnerAutocomplete | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 6b9a774321978b8ae2eaf534fa6405324a75c503
Author: Thomas Sibley <trs at bestpractical.com>
Date: Fri Aug 20 15:42:22 2010 -0400
Don't autocomplete until at least two characters are typed
diff --git a/share/html/Elements/SelectOwnerAutocomplete b/share/html/Elements/SelectOwnerAutocomplete
index 11dd55c..678e0b5 100644
--- a/share/html/Elements/SelectOwnerAutocomplete
+++ b/share/html/Elements/SelectOwnerAutocomplete
@@ -76,6 +76,7 @@ my $query = $m->comp('/Elements/QueryString',
jQuery(function() {
var cache = {};
jQuery("#<% $Name %>").autocomplete({
+ minLength: 2,
source: function(request, response) {
if ( request.term in cache ) {
response( cache[ request.term ] );
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list