From a68b2d2aa37e748c2d00b70bd7d1ea114a4488be Mon Sep 17 00:00:00 2001 From: Adam Young Date: Fri, 14 Jan 2011 13:29:54 -0500 Subject: hide unselectable options If an option is not selectable from the action panel, hide it until it is selectable addresses https://fedorahosted.org/freeipa/ticket/747 --- install/static/entity.js | 2 +- install/static/ipa.css | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/install/static/entity.js b/install/static/entity.js index 38ce47ed..96849e78 100644 --- a/install/static/entity.js +++ b/install/static/entity.js @@ -512,7 +512,7 @@ IPA. facet_create_action_panel = function(container) { var facet_group = other_facet.facet_group; if (!facet_groups[facet_group]) { li = $('
  • ', { - 'class': 'entity-facet-relation-label', + 'class': 'entity-facet entity-facet-relation-label', 'text': other_facet.facet_group, 'title': other_facet.facet_group }); diff --git a/install/static/ipa.css b/install/static/ipa.css index 2e61d6d9..cdeb4045 100644 --- a/install/static/ipa.css +++ b/install/static/ipa.css @@ -501,12 +501,7 @@ span.main-separator{ } .action-panel li.entity-facet-disabled { - font-family: "Liberation Sans",Arial,sans-serif; - color: gray; - cursor: default; - text-decoration: none; - text-transform: none; - + display:none; } .action-panel li.entity-facet-relation-label { -- cgit