From 5eb9f088f2c5c902a55aefdf9dd8b2a95e060837 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 28 Apr 2011 17:38:21 -0500 Subject: 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. --- install/ui/service.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'install/ui/service.js') diff --git a/install/ui/service.js b/install/ui/service.js index f76af900c..474eedfe5 100644 --- a/install/ui/service.js +++ b/install/ui/service.js @@ -369,10 +369,7 @@ IPA.service_managedby_host_facet = function(spec) { 'html': value, 'click': function (value) { return function() { - var state = IPA.tab_state(that.other_entity); - state[that.other_entity + '-facet'] = 'details'; - state[that.other_entity + '-pkey'] = value; - $.bbq.pushState(state); + IPA.nav.show_page(that.other_entity, 'details', value); return false; }; }(value) -- cgit