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
This commit is contained in:
Adam Young
2011-01-14 13:29:54 -05:00
parent 91fae67fa4
commit a68b2d2aa3
2 changed files with 2 additions and 7 deletions

View File

@@ -512,7 +512,7 @@ IPA. facet_create_action_panel = function(container) {
var facet_group = other_facet.facet_group;
if (!facet_groups[facet_group]) {
li = $('<li/>', {
'class': 'entity-facet-relation-label',
'class': 'entity-facet entity-facet-relation-label',
'text': other_facet.facet_group,
'title': other_facet.facet_group
});

View File

@@ -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 {