diff options
author | Adam Young <ayoung@redhat.com> | 2011-06-28 13:39:10 -0400 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-06-28 22:40:42 +0000 |
commit | 66eeaceb8cc50902b408e5c97c6d04e59e57f97a (patch) | |
tree | d279fd33648bf1470f566afca418b876683748a2 /install/ui/test | |
parent | 67b807d6402942061d9762f2c1ff31779b7d4744 (diff) | |
download | freeipa.git-66eeaceb8cc50902b408e5c97c6d04e59e57f97a.tar.gz freeipa.git-66eeaceb8cc50902b408e5c97c6d04e59e57f97a.tar.xz freeipa.git-66eeaceb8cc50902b408e5c97c6d04e59e57f97a.zip |
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
Diffstat (limited to 'install/ui/test')
-rw-r--r-- | install/ui/test/details_tests.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/install/ui/test/details_tests.js b/install/ui/test/details_tests.js index dc84dc02..71e6bf98 100644 --- a/install/ui/test/details_tests.js +++ b/install/ui/test/details_tests.js @@ -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'; |