From 8a398193beca7bfc7aa5ce7a9181e3d3c2f1cfa6 Mon Sep 17 00:00:00 2001 From: Alexandre Delaunay Date: Fri, 27 Nov 2015 15:30:23 +0100 Subject: [PATCH] fix tooltips position to prevent them to display out of windows; fix #289 --- inc/html.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/html.class.php b/inc/html.class.php index 3b20d355370..aa59328f7be 100644 --- a/inc/html.class.php +++ b/inc/html.class.php @@ -3700,6 +3700,7 @@ static function showToolTip($content, $options=array()) { } $js = ""; $js .= Html::jsGetElementbyID($param['applyto']).".qtip({ + position: { viewport: $(window) }, content: {text: ".Html::jsGetElementbyID($param['contentid']); if (!$param['autoclose']) { $js .=", title: {text: ' ',button: true}";