You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/searx/static/themes/simple/src/js/main
Alexandre FLAMENT 4a72a6b9fc Theme: fix autocompletion with the POST method
With the POST method, autocomplete.js does not URL encode the values.
For example "1+1" is sent as "1+1" which is read as "1 1" since space are URL encoded with a plus.

There is no clean way to fix the bug since autocomplete.js seems abandoned.

The commit monkey patches the ajax function of autocomplete.js

Related to #1695
2 years ago
..
00_toolkit.js [fix] loading of external resources in JS client toolkit 2 years ago
infinite_scroll.js [mod] client_settings: pass settings from server to JS client 2 years ago
keyboard.js [fix] keyboard.js - highlightResult: don't steal focus on click event 2 years ago
mapresult.js [fix] eslint --fix 3 years ago
preferences.js [mod] client_settings: pass settings from server to JS client 2 years ago
results.js [simple theme] replace Image_layout.js with flexbox CS impl. 3 years ago
search.js Theme: fix autocompletion with the POST method 2 years ago