summaryrefslogtreecommitdiffstats
path: root/install/ui/test
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-06-28 13:39:10 -0400
committerEndi S. Dewata <edewata@redhat.com>2011-06-28 22:40:42 +0000
commit66eeaceb8cc50902b408e5c97c6d04e59e57f97a (patch)
treed279fd33648bf1470f566afca418b876683748a2 /install/ui/test
parent67b807d6402942061d9762f2c1ff31779b7d4744 (diff)
downloadfreeipa.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.js6
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';