From 243d73c49b93c98047a55db4e4f95abbaf5698f7 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Sat, 10 May 2025 18:30:38 +0200 Subject: [PATCH] Fix regression --- htdocs/core/class/html.form.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index ef92c84817e..337a0dd18c8 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -10994,8 +10994,9 @@ class Form } $out .= ' }); $(".' . $cssclass . '").change(function() { - $(this).closest("tr").toggleClass(this.checked); - }); + console.log("We change tr class highlight"); + $(this).closest("tr").toggleClass("highlight", this.checked); + }); }); ';