diff --git a/htdocs/ajaxresponse.php b/htdocs/ajaxresponse.php index c6d2dca6959..c35868f33b8 100644 --- a/htdocs/ajaxresponse.php +++ b/htdocs/ajaxresponse.php @@ -27,7 +27,6 @@ require('./pre.inc.php'); $form = new Form($db); -$form->select_produits_do("","","","","",$_GET["keyref"],$_GET["keylabel"]); -// print $_GET["key"]; +$form->select_produits_do("",$_GET["htmlname"],"","","",$_GET["keyref"],$_GET["keylabel"]); ?> diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 4675fcea063..534c5423de3 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -655,19 +655,22 @@ class Form if($conf->use_ajax) { print ''; - print '
'; - print ''; + // print ''; + print ''; print ''; print ''; + print '