aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-07 19:39:50 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-07 19:39:50 +0100
commit34ecbcceea9ae6399f50c6e8718a9f84345136b9 (patch)
tree7feb27f38da9964cb836f7f604cb1dea05fb5aad /include
parent4e3aadc38a671ebd37d3619ea64f278f5a06f6dc (diff)
downloadvolse-hubzilla-34ecbcceea9ae6399f50c6e8718a9f84345136b9.tar.gz
volse-hubzilla-34ecbcceea9ae6399f50c6e8718a9f84345136b9.tar.bz2
volse-hubzilla-34ecbcceea9ae6399f50c6e8718a9f84345136b9.zip
Make nav search use textcomplete
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>