From 8a3f315e12f70a156c7f150460a1d1766b427b5f Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 22 Nov 2012 08:54:56 +0000 Subject: [PATCH] issue #0001391 : Javascript select --- application/views/default/scripts/saisie/lienfiche.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/views/default/scripts/saisie/lienfiche.phtml b/application/views/default/scripts/saisie/lienfiche.phtml index ae55158a7..26bffe3f6 100644 --- a/application/views/default/scripts/saisie/lienfiche.phtml +++ b/application/views/default/scripts/saisie/lienfiche.phtml @@ -96,7 +96,7 @@ $('input.autocomplete').autocomplete({ case 'id': break; case 'nom': if ($('select[name=searchCountry]').val()!='') { - query = query + ',' + $('input[name=searchCountry]:selected').val(); + query = query + ',' + $('select[name=searchCountry]').val(); } break; }