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/test/details_tests.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'install/ui/test/details_tests.js') 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 = $('
').appendTo(document.body); var obj_name = 'user'; -- cgit