diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-07 19:39:50 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-07 19:39:50 +0100 |
commit | 34ecbcceea9ae6399f50c6e8718a9f84345136b9 (patch) | |
tree | 7feb27f38da9964cb836f7f604cb1dea05fb5aad /include/nav.php | |
parent | 4e3aadc38a671ebd37d3619ea64f278f5a06f6dc (diff) | |
download | volse-hubzilla-34ecbcceea9ae6399f50c6e8718a9f84345136b9.tar.gz volse-hubzilla-34ecbcceea9ae6399f50c6e8718a9f84345136b9.tar.bz2 volse-hubzilla-34ecbcceea9ae6399f50c6e8718a9f84345136b9.zip |
Make nav search use textcomplete
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 10 |
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> |