2
0
forked from Wavyzz/dolibarr

fix ajax tooltip lib_foot.js.php (#32044)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Frédéric FRANCE
2024-11-22 13:22:05 +01:00
committed by GitHub
parent 682544ad45
commit e35b534ee2

View File

@@ -110,9 +110,11 @@ if (empty($conf->dol_no_mouse_hover)) {
success: function(response){ success: function(response){
// Setting content option // Setting content option
console.log("ajax success"); console.log("ajax success");
if (elemfortooltip.is(":hover")) {
elemfortooltip.tooltip("option","content",response); elemfortooltip.tooltip("option","content",response);
elemfortooltip.tooltip("open"); elemfortooltip.tooltip("open");
} }
}
}); });
}, opendelay)); }, opendelay));
}); });