mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-31 14:12:29 +01:00
FIX ajaxtooltip must return content with no html header/footer even for
error message
This commit is contained in:
@@ -96,12 +96,13 @@ if (empty($conf->dol_no_mouse_hover)) {
|
||||
target.off("mouseover mouseout");
|
||||
target.on("mouseover", function(event) {
|
||||
console.log("we will create timer for ajax call");
|
||||
event.stopImmediatePropagation();
|
||||
clearTimeout(elemtostoretooltiptimer.data("openTimeoutId"));
|
||||
|
||||
var params = JSON.parse($(this).attr("data-params"));
|
||||
params.token = currenttoken;
|
||||
var elemfortooltip = $(this);
|
||||
|
||||
event.stopImmediatePropagation();
|
||||
clearTimeout(elemtostoretooltiptimer.data("openTimeoutId"));
|
||||
elemtostoretooltiptimer.data("openTimeoutId", setTimeout(function() {
|
||||
target.tooltip("close");
|
||||
$.ajax({
|
||||
|
||||
Reference in New Issue
Block a user