From 00660d4885aad0808db499ad25fabc3e584e0461 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 12 Aug 2019 02:52:36 +0200 Subject: [PATCH] Fix responsive --- htdocs/admin/dict.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php index c2b61fe378e..f68864fcc3d 100644 --- a/htdocs/admin/dict.php +++ b/htdocs/admin/dict.php @@ -1602,7 +1602,6 @@ if ($id) $class='tddict'; if ($fieldlist[$field] == 'note' && $id == 10) $class.=' tdoverflowmax200'; if ($fieldlist[$field] == 'tracking') $class.=' tdoverflowauto'; - if ($fieldlist[$field] == 'code') $class.=' maxwidth100'; if ($fieldlist[$field] == 'position') $class.=' right'; if ($fieldlist[$field] == 'localtax1_type') $class.=' nowrap'; if ($fieldlist[$field] == 'localtax2_type') $class.=' nowrap'; @@ -1780,7 +1779,6 @@ function fieldList($fieldlist, $obj = '', $tabname = '', $context = '') global $form; global $region_id; global $elementList,$sourceList,$localtax_typeList; - global $bc; $formadmin = new FormAdmin($db); $formcompany = new FormCompany($db); @@ -1981,7 +1979,7 @@ function fieldList($fieldlist, $obj = '', $tabname = '', $context = '') } $classtd=''; $class=''; - if ($fieldlist[$field]=='code') $classtd='maxwidth100'; + if ($fieldlist[$field]=='code') $class='maxwidth100'; if (in_array($fieldlist[$field], array('pos', 'use_default', 'affect', 'delay', 'position', 'sortorder', 'sens', 'category_type'))) $class='maxwidth50'; if (in_array($fieldlist[$field], array('libelle', 'label', 'tracking'))) $class='quatrevingtpercent'; print '';