diff --git a/install/ui/navigation.js b/install/ui/navigation.js index 8e332cf67..308f21154 100644 --- a/install/ui/navigation.js +++ b/install/ui/navigation.js @@ -174,12 +174,16 @@ IPA.navigation = function(spec) { } } - $('
  • ').append($('', { + var tab_li =$('
  • ').append($('', { href: '#'+tab_id, title: tab.label, html: tab.label })).appendTo(ul); + if (tab.hidden){ + tab_li.css('display','none'); + } + tab.container = $('
    ', { id: tab_id, name: tab.name diff --git a/install/ui/webui.js b/install/ui/webui.js index c014cea72..cfbb9e69b 100644 --- a/install/ui/webui.js +++ b/install/ui/webui.js @@ -53,10 +53,8 @@ IPA.admin_navigation = function(spec) { {entity: 'sudocmd'}, {entity: 'sudocmdgroup'} ]}, - {name: 'automount', label: IPA.messages.tabs.automount, children: [ - {entity: 'automountlocation'}, - {entity: 'automountmap'} - ]}, + {entity: 'automountlocation', label: IPA.messages.tabs.automount}, + {entity: 'automountmap',hidden:true}, {entity: 'pwpolicy'}, {entity: 'krbtpolicy'} ]},