mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
@@ -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
|
||||
});
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user