Hi,

Please review the attached patch. Thanks!

The ipa_entity_quick_links() has been modified to show tooltips when
hovering on quick links.

--
Endi S. Dewata
>From 98a75d0b1d72f8d10f1a741aac3b12de71a6f655 Mon Sep 17 00:00:00 2001
From: Endi S. Dewata <edew...@redhat.com>
Date: Mon, 4 Oct 2010 12:51:51 -0500
Subject: [PATCH] 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 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/install/static/entity.js b/install/static/entity.js
index 820c567..c628edd 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) {
 
     $("<a/>", {
         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;
 
             $("<a/>", {
                 href: '#'+m,
+                title: label,
                 click: function(m) {
                     return function() {
                         var state = {};
-- 
1.6.6.1

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to