From 8b812be1a0b7a56f9af61ce109a0138baa79694d Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 5 May 2010 14:58:54 +0000 Subject: [PATCH] Fixed positioning git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18150 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/include/{tooltip-v0.2.js => tooltip.js} | 0 .../plugins/addons/configViewer/class_configViewer.inc | 2 +- gosa-core/plugins/addons/configViewer/property-list.tpl | 6 ++++-- 3 files changed, 5 insertions(+), 3 deletions(-) rename gosa-core/html/include/{tooltip-v0.2.js => tooltip.js} (100%) diff --git a/gosa-core/html/include/tooltip-v0.2.js b/gosa-core/html/include/tooltip.js similarity index 100% rename from gosa-core/html/include/tooltip-v0.2.js rename to gosa-core/html/include/tooltip.js diff --git a/gosa-core/plugins/addons/configViewer/class_configViewer.inc b/gosa-core/plugins/addons/configViewer/class_configViewer.inc index edddd802f..ec2a187ec 100644 --- a/gosa-core/plugins/addons/configViewer/class_configViewer.inc +++ b/gosa-core/plugins/addons/configViewer/class_configViewer.inc @@ -118,7 +118,7 @@ class configViewer extends management $title = _("No description"); if(isset($description[0])) $title = htmlentities($description[0],ENT_COMPAT, 'UTF-8'); $title = preg_replace("/\n/", "
", $title); - $tooltip = "
".$title."
"; + $tooltip = ""; return($tooltip."{$cn[0]}"); } static function propertyValue($class,$cn,$value,$type,$default,$defaults) diff --git a/gosa-core/plugins/addons/configViewer/property-list.tpl b/gosa-core/plugins/addons/configViewer/property-list.tpl index 552db9178..56368e1f2 100644 --- a/gosa-core/plugins/addons/configViewer/property-list.tpl +++ b/gosa-core/plugins/addons/configViewer/property-list.tpl @@ -1,4 +1,4 @@ - +
@@ -23,7 +23,9 @@ return node.getAttribute('title'); }).each(function(node){ var test = node.title; - new Tooltip(node,test); + var t = new Tooltip(node,test); + t.options.delta_x = -150; + t.options.delta_y = -50; node.removeAttribute("title"); }); }); -- 2.30.2