From 4c712866a0036d291e7cf82ab6962196383e409e Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Sat, 5 Nov 2016 13:52:24 +0100
Subject: [PATCH] FIX No tooltip if dol_no_mouse_hover is on

---
 htdocs/main.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index df74013fba1..b64da2c0b2d 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -1907,7 +1907,7 @@ if (! function_exists("llxFooter"))
         if (! empty($delayedhtmlcontent)) print $delayedhtmlcontent;
 
 		// Wrapper to show tooltips
-        if ($conf->use_javascript_ajax)
+        if (! empty($conf->use_javascript_ajax) && empty($conf->dol_no_mouse_hover))
         {
     		print "\n<!-- JS CODE TO ENABLE tipTip on all object with class classfortooltip -->\n";
     		print '<script type="text/javascript">
-- 
GitLab