From c5f134488374538f60f8e05dcbd9aa0582ac4ec5 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 19 May 2010 08:22:41 +0000 Subject: [PATCH] Updated tooltip handling -Do not replace ALL tooltips just replace those used for properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18541 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/addons/propertyEditor/property-list.tpl | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/gosa-core/plugins/addons/propertyEditor/property-list.tpl b/gosa-core/plugins/addons/propertyEditor/property-list.tpl index c9b2c482f..0a4ccb2f2 100644 --- a/gosa-core/plugins/addons/propertyEditor/property-list.tpl +++ b/gosa-core/plugins/addons/propertyEditor/property-list.tpl @@ -51,11 +51,14 @@ $$("*").findAll(function(node){ return node.getAttribute('title'); }).each(function(node){ - var test = node.title; - var t = new Tooltip(node,test); - t.options.delta_x = -150; - t.options.delta_y = -50; - node.removeAttribute("title"); + var test = node.title; + + if($(test)){ + var t = new Tooltip(node,test); + t.options.delta_x = -150; + t.options.delta_y = -50; + node.removeAttribute("title"); + } }); }); -- 2.30.2