From ebd003afa0452eeb8fd690dbb2918d28acbe5cab Mon Sep 17 00:00:00 2001 From: sparkyx Date: Fri, 12 Nov 2021 13:43:03 +0100 Subject: [PATCH] =?UTF-8?q?Task=20#0002090:=20TVA=20:=20selection=20TVA=20?= =?UTF-8?q?,=20possibilit=C3=A9=20d'ordonner=20les=20colonnes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/ajax_misc.php | 4 ++-- html/js/noalyss_script.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/html/ajax_misc.php b/html/ajax_misc.php index 4f154a23b..e9be4d0d2 100644 --- a/html/ajax_misc.php +++ b/html/ajax_misc.php @@ -527,9 +527,9 @@ EOF; $r.=HtmlInput::title_box(_('Choisissez la TVA'),'tva_select',"close","","y"); $r.='
'; $r.=_('Cherche')." ".HtmlInput::filter_table("tva_select_table",'0,1,2,3' , 1); - $r.= ''; + $r.= '
'; $r.=th(_('code')); - $r.=th(_('Taux')); + $r.=th(_('Taux'),'class="sorttable_sorted_reverse"'); $r.=th(_('Symbole')); $r.=th(_('Explication')); diff --git a/html/js/noalyss_script.js b/html/js/noalyss_script.js index 34385cb2d..e030b6ed1 100644 --- a/html/js/noalyss_script.js +++ b/html/js/noalyss_script.js @@ -599,6 +599,7 @@ function popup_select_tva(obj) var popup = {'id': 'tva_select', 'cssclass': 'inner_box', 'style': str_style, 'html': code_html, 'drag': false}; add_div(popup); $('lk_tva_select_table').focus(); + sorttable.makeSortable($('tva_select_table')); } catch (e) { alert_box("success_popup_select_tva " + e.message);