From ea334939bac184d4dba1a040746c773ae42ddf6f Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 4 Oct 2010 12:51:51 -0500 Subject: Tooltips for quick links. The ipa_entity_quick_links() has been modified to show tooltips when hovering on quick links. --- install/static/entity.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'install/static/entity.js') diff --git a/install/static/entity.js b/install/static/entity.js index 820c5670..c628edd0 100644 --- a/install/static/entity.js +++ b/install/static/entity.js @@ -231,6 +231,7 @@ function ipa_entity_quick_links(tr, attr, value, entry_attrs) { $("", { href: "#details", + title: "Details", click: function() { var state = {}; state[obj_name+'-facet'] = 'details'; @@ -247,9 +248,11 @@ function ipa_entity_quick_links(tr, attr, value, entry_attrs) { var objs = attribute_members[attr_name]; for (var i = 0; i < objs.length; ++i) { var m = objs[i]; + var label = ipa_objs[m].label; $("", { href: '#'+m, + title: label, click: function(m) { return function() { var state = {}; -- cgit