summaryrefslogtreecommitdiffstats
path: root/install/ui/navigation.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-06-17 20:09:03 -0400
committerEndi S. Dewata <edewata@redhat.com>2011-06-20 16:39:47 +0000
commitd72fed190e4ecc6d89deaa459f3426bd551cda3b (patch)
tree7d34d2c626a7caf3638432f7e86b8e49e35529a6 /install/ui/navigation.js
parent4ea381649d3c951941f0ae7626adfaea6ce73870 (diff)
downloadfreeipa-d72fed190e4ecc6d89deaa459f3426bd551cda3b.tar.gz
freeipa-d72fed190e4ecc6d89deaa459f3426bd551cda3b.tar.xz
freeipa-d72fed190e4ecc6d89deaa459f3426bd551cda3b.zip
hide automount tabs.
the tabs are required for natigation, but they should not be visible, as the breadcrub provides the navigation for them instead. Moved the automount tabs up one level so that it uses the two level style
Diffstat (limited to 'install/ui/navigation.js')
-rw-r--r--install/ui/navigation.js6
1 files changed, 5 insertions, 1 deletions
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) {
}
}
- $('<li/>').append($('<a/>', {
+ var tab_li =$('<li/>').append($('<a/>', {
href: '#'+tab_id,
title: tab.label,
html: tab.label
})).appendTo(ul);
+ if (tab.hidden){
+ tab_li.css('display','none');
+ }
+
tab.container = $('<div/>', {
id: tab_id,
name: tab.name