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
This commit is contained in:
Adam Young
2011-06-28 13:39:10 -04:00
committed by Endi S. Dewata
parent 67b807d640
commit 66eeaceb8c
12 changed files with 95 additions and 56 deletions

View File

@@ -35,6 +35,12 @@ module('details', {
}
);
IPA.nav = {};
IPA.nav.get_state = function(key){
return $.bbq.getState(key);
};
details_container = $('<div id="details"/>').appendTo(document.body);
var obj_name = 'user';