From a6f48336f5cb2271b74197b45079e84579795162 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 24 Aug 2011 12:17:49 +0000 Subject: [PATCH] Qual: Use jquery instead of standard js --- htdocs/core/class/html.formactions.class.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/htdocs/core/class/html.formactions.class.php b/htdocs/core/class/html.formactions.class.php index 1a984d1226e..b1ba30b8bdf 100644 --- a/htdocs/core/class/html.formactions.class.php +++ b/htdocs/core/class/html.formactions.class.php @@ -21,7 +21,7 @@ * \file htdocs/core/class/html.formactions.class.php * \ingroup core * \brief Fichier de la classe des fonctions predefinie de composants html actions - * \version $Id: html.formactions.class.php,v 1.21 2011/07/31 23:45:14 eldy Exp $ + * \version $Id: html.formactions.class.php,v 1.22 2011/08/24 12:17:49 eldy Exp $ */ @@ -67,23 +67,29 @@ class FormActions { print "\n"; print ''."\n"; - print ''; foreach($listofstatus as $key => $val) { print ''; } print ''; if ($selected == 0 || $selected == 100) $canedit=0; - print ' =0)?'':' disabled="true"').' onChange="select_status(document.'.$formname.'.percentageshown.value)">%'; + print ' =0)?'':' disabled="true"').'>'; + print '%'; print ' '; } else