From 09dd9acc67f7caf05365ed3bdde32c0bb729ed1b Mon Sep 17 00:00:00 2001 From: Regis Houssin <regis@dolibarr.fr> Date: Tue, 12 Oct 2010 19:19:22 +0000 Subject: [PATCH] Fix: auto fill zip and town with jquery --- htdocs/core/class/html.formcompany.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formcompany.class.php b/htdocs/core/class/html.formcompany.class.php index 41528814026..0ca46e0f6b5 100644 --- a/htdocs/core/class/html.formcompany.class.php +++ b/htdocs/core/class/html.formcompany.class.php @@ -223,7 +223,7 @@ class FormCompany $result=$this->db->query($sql); if ($result) { - $out.= '<select class="flat" name="'.$htmlname.'">'; + $out.= '<select id="'.$htmlname.'" class="flat" name="'.$htmlname.'">'; if ($pays_code) $out.= '<option value="0"> </option>'; $num = $this->db->num_rows($result); $i = 0; -- GitLab