]> git.mxchange.org Git - friendica.git/commitdiff
set minchars to 2 for contacts search
authorfriendica <info@friendica.com>
Wed, 6 Jun 2012 03:47:26 +0000 (20:47 -0700)
committerfriendica <info@friendica.com>
Wed, 6 Jun 2012 03:47:26 +0000 (20:47 -0700)
mod/contacts.php

index f5125a7fe6ed3bf721fb921d468a7a0fd0c561a3..a3e3f409b5c769adf935827b3fe0be9ab0fee530 100644 (file)
@@ -52,6 +52,7 @@ function contacts_init(&$a) {
        var a; 
        a = $("#contacts-search").autocomplete({ 
                serviceUrl: '$base/acl',
+               minChars: 2,
                width: 350,
        });
        a.setOptions({ params: { type: 'a' }});