From a0ad497200746a08b21738d7eb2767e60c9dd3c0 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Fri, 12 Jul 2013 18:19:47 +0200 Subject: [PATCH] Fix #1295 Research thesaurus terms --- templates/web/prod/index.html.twig | 4 ++-- templates/web/prod/thesaurus.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/web/prod/index.html.twig b/templates/web/prod/index.html.twig index dc6336d0a0..7aa3f0299a 100644 --- a/templates/web/prod/index.html.twig +++ b/templates/web/prod/index.html.twig @@ -181,9 +181,9 @@ -
+
- +
diff --git a/templates/web/prod/thesaurus.js b/templates/web/prod/thesaurus.js index f77d19a61d..bd39454b91 100644 --- a/templates/web/prod/thesaurus.js +++ b/templates/web/prod/thesaurus.js @@ -44,11 +44,11 @@ function T_Gfilter(o) { var f; if(o.nodeName=="FORM") - f = $(o).children(":text").val(); + f = $(o).find("input[name=search_value]").val(); else if(o.nodeName=="INPUT") - f = o.value; + f = $(o).val(); - T_Gfilter_delayed(f, 0); + T_Gfilter_delayed(f, 0); switch(p4.thesau.currentWizard) {