From 66eeaceb8cc50902b408e5c97c6d04e59e57f97a Mon Sep 17 00:00:00 2001 From: Adam Young Date: Tue, 28 Jun 2011 13:39:10 -0400 Subject: shorten url cache state in a javascript variable, and leave on information about the current entity in the URL hash params https://fedorahosted.org/freeipa/ticket/674 decrement depth for hidden tabs. Initialize state from url useing delete for removing state stricter attribute matching not incrementing depth for all hidden tabs. whitespace cleanup --- install/ui/user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui/user.js') diff --git a/install/ui/user.js b/install/ui/user.js index ce925d8e..d7217542 100644 --- a/install/ui/user.js +++ b/install/ui/user.js @@ -177,7 +177,7 @@ IPA.user_status_widget = function(spec) { click: function() { var jobj = $(this); var val = jobj.attr('title'); - var pkey = $.bbq.getState('user-pkey'); + var pkey = IPA.nav.get_state('user-pkey'); var method = 'enable'; if (val == IPA.messages.objects.user.active) { method = 'disable'; @@ -266,7 +266,7 @@ IPA.user_password_widget = function(spec) { return; } - var user_pkey = $.bbq.getState('user-pkey'); + var user_pkey = IPA.nav.get_state('user-pkey'); var args; if (user_pkey === IPA.whoami.uid[0]) { -- cgit