From: hickert Date: Wed, 19 May 2010 08:22:41 +0000 (+0000) Subject: Updated tooltip handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c5f134488374538f60f8e05dcbd9aa0582ac4ec5;p=gosa.git 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 --- 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"); + } }); });