From 7f6007f2e4fb9a4d1e59829968b243603df4ed81 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Sat, 5 Feb 2011 03:29:51 +0000
Subject: [PATCH] Try to remove code i think it's deprecated

---
 htdocs/core/class/html.form.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index da1ec3442c8..d827682cc24 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -948,7 +948,7 @@ class Form
             $num = $this->db->num_rows($result);
 
             $outselect.='<select class="flat" name="'.$htmlname.'"';
-			if ($conf->use_javascript_ajax && $num && $conf->global->PRODUIT_USE_SEARCH_TO_SELECT) $outselect.=' onchange="publish_selvalue(this);"';
+			//if ($conf->use_javascript_ajax && $num && $conf->global->PRODUIT_USE_SEARCH_TO_SELECT) $outselect.=' onchange="publish_selvalue(this);"';
             $outselect.='>';
 
             if ($conf->use_javascript_ajax)
@@ -1184,7 +1184,7 @@ class Form
             $num = $this->db->num_rows($result);
 
             $outselect.='<select class="flat" id="select'.$htmlname.'" name="'.$htmlname.'"';
-            if ($conf->use_javascript_ajax && $num) $outselect.=' onchange="publish_selvalue(this);"';
+            //if ($conf->use_javascript_ajax && $num) $outselect.=' onchange="publish_selvalue(this);"';
             $outselect.='>';
 
             if ($conf->use_javascript_ajax)
-- 
GitLab