From 5f5799cc4e5bb466c68ad0fb8aa864bf94176b5e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 6 Apr 2023 16:35:41 +0200 Subject: [PATCH] FIX #24429 --- htdocs/core/js/lib_head.js.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/js/lib_head.js.php b/htdocs/core/js/lib_head.js.php index 4424a65eb07..96ae839a9cd 100644 --- a/htdocs/core/js/lib_head.js.php +++ b/htdocs/core/js/lib_head.js.php @@ -1305,7 +1305,7 @@ $(document).on('select2:open', (e) => { const target = $(e.target); if (target && target.length) { const id = target[0].id || target[0].name; - document.querySelector(`input[aria-controls*='${id}']`).focus(); + document.querySelector('input[aria-controls*='+id+']').focus(); } });