diff options
| author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-03-20 10:28:24 +0100 |
|---|---|---|
| committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-03-20 10:28:24 +0100 |
| commit | 8abf4ab993cd4a81dc97f85fb8a30a6c875221f7 (patch) | |
| tree | 80ec3b61ecfae137767ad4aee821b9e0162ebba8 /searx/static/js | |
| parent | b5c695c6f525eb692d3e476817b49d2661ba2d25 (diff) | |
adding initial code for backend-part of autocompleter
including test-code
Diffstat (limited to 'searx/static/js')
| -rw-r--r-- | searx/static/js/searx.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/static/js/searx.js b/searx/static/js/searx.js index 15e6012c2..8687a9066 100644 --- a/searx/static/js/searx.js +++ b/searx/static/js/searx.js @@ -1,8 +1,7 @@ window.addEvent('domready', function() { - new Autocompleter.Request.JSON('q', '/', { + new Autocompleter.Request.JSON('q', '/autocompleter', { postVar:'q', postData:{ - 'autocompleter': 1, 'format': 'json' }, ajaxOptions:{ |