diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-04-28 17:38:21 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-05-05 12:14:34 -0500 |
commit | 5eb9f088f2c5c902a55aefdf9dd8b2a95e060837 (patch) | |
tree | 57e5eb988fb2056d02df4ab07c857622dd03f0b8 /install/ui/entity.js | |
parent | 238da3dffd99f3ea91318eb2dd0fe77860aff345 (diff) | |
download | freeipa-5eb9f088f2c5c902a55aefdf9dd8b2a95e060837.tar.gz freeipa-5eb9f088f2c5c902a55aefdf9dd8b2a95e060837.tar.xz freeipa-5eb9f088f2c5c902a55aefdf9dd8b2a95e060837.zip |
Use entity names for tab state.
Previously the tab state is represented using numeric index such
as navigation=0&identity=1 which is not very user friendly. Now the
code has been modified to use entity names such as
navigation=identity&identity=group.
Diffstat (limited to 'install/ui/entity.js')
-rw-r--r-- | install/ui/entity.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/entity.js b/install/ui/entity.js index e6e63cd32..a4488756e 100644 --- a/install/ui/entity.js +++ b/install/ui/entity.js @@ -455,7 +455,7 @@ IPA.entity_header = function(spec){ return false; } - IPA.show_page(entity.name, 'search'); + IPA.nav.show_page(entity.name, 'search'); $(that.facet_tabs).find('a').removeClass('selected'); return false; @@ -483,7 +483,7 @@ IPA.entity_header = function(spec){ return false; } var this_pkey = that.pkey_field.val(); - IPA.show_page( + IPA.nav.show_page( entity_name, other_facet_name, this_pkey); $(that.facet_tabs).find('a').removeClass('selected'); |