From 97f0f33a4f43773c632c730aadc199c91da6595f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 9 Feb 2023 23:33:39 +0100 Subject: [PATCH] fix ajax tooltip sometimes stay open --- htdocs/core/js/lib_foot.js.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/js/lib_foot.js.php b/htdocs/core/js/lib_foot.js.php index b319185909a..963e357199a 100644 --- a/htdocs/core/js/lib_foot.js.php +++ b/htdocs/core/js/lib_foot.js.php @@ -89,6 +89,7 @@ if (empty($conf->dol_no_mouse_hover)) { $.ajax({ url:"' . dol_buildpath('/core/ajax/ajaxtooltip.php', 1) . '", type: "post", + async: false, data: JSON.parse(params), success: function(response){ // Setting content option