From aa7eca2b87da7fae8238382345f60f487137210a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 13 Oct 2010 16:49:43 +0000 Subject: [PATCH] Fix: change the content of states select if country is different --- htdocs/lib/ajax.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/lib/ajax.lib.php b/htdocs/lib/ajax.lib.php index 4a06e48f37a..499fb407862 100644 --- a/htdocs/lib/ajax.lib.php +++ b/htdocs/lib/ajax.lib.php @@ -162,7 +162,7 @@ function ajax_multiautocompleter($htmlname,$fields,$url,$option='') if (data.length == 1) { jQuery("#'.$htmlname.'").val(item.value); if (item.countydata) { - jQuery("#departement_id").html(item.countydata); + jQuery("#departement_id").html(item.states); } for (i=0;i