diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-06-14 10:40:45 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-06-14 10:40:45 +0200 |
| commit | c7f7996c1630c9a769adc0a54b862eff75b4246e (patch) | |
| tree | 79955c701e7268dcf7ce234f9d375e1d8ce71215 /static/saclay/js | |
| parent | c03b5c113b1a69e6967408f405de4f5372d259ba (diff) | |
| download | Chimère - projet Saclay-alison-gloubi-v2.2.tar.bz2 Chimère - projet Saclay-alison-gloubi-v2.2.zip | |
Correction recherche sur les mots croisillonsalison-gloubi-v2.2
Diffstat (limited to 'static/saclay/js')
| -rwxr-xr-x | static/saclay/js/search.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/static/saclay/js/search.js b/static/saclay/js/search.js index 27e9a3a..90495a7 100755 --- a/static/saclay/js/search.js +++ b/static/saclay/js/search.js @@ -14,7 +14,8 @@ function haystack_search(evt, page){ return false; } - var c_url = search_url + "?q=" + $('#id_q').val(); + var value = $('#id_q').val().replace(/#/g , "%23"); + var c_url = search_url + "?q=" + value; if (page){ c_url += '&page=' + page; } |
