aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2015-01-08 09:38:45 +1100
committerRedMatrix <info@friendica.com>2015-01-08 09:38:45 +1100
commit8771dee9cf90b9c8f76c1856ea7e5107aab5840e (patch)
tree0ab8af1ffb5a92962b2918e274cae26046897d11 /include
parenta373b9f1d4d0ee6781927c3fcf05e0e301a80b6e (diff)
parent7176eb88452b3c74652de09e44de41943051391c (diff)
downloadvolse-hubzilla-8771dee9cf90b9c8f76c1856ea7e5107aab5840e.tar.gz
volse-hubzilla-8771dee9cf90b9c8f76c1856ea7e5107aab5840e.tar.bz2
volse-hubzilla-8771dee9cf90b9c8f76c1856ea7e5107aab5840e.zip
Merge pull request #829 from pafcu/oneautocompleter
Steps towards a single autocompleter
Diffstat (limited to 'include')
-rw-r--r--include/nav.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/nav.php b/include/nav.php
index a9bff4b29..a567f83c5 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -15,15 +15,7 @@ function nav(&$a) {
$a->page['htmlhead'] .= <<< EOT
<script>$(document).ready(function() {
- var a;
- a = $("#nav-search-text").autocomplete({
- serviceUrl: '$base/acl',
- minChars: 2,
- width: 250,
- id: 'nav-search-text-ac',
- });
- a.setOptions({ autoSubmit: true, params: { type: 'x' }});
-
+ $("#nav-search-text").search_autocomplete('$base/acl');
});
</script>