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/details.js | |
parent | 67b807d6402942061d9762f2c1ff31779b7d4744 (diff) | |
download | freeipa-66eeaceb8cc50902b408e5c97c6d04e59e57f97a.tar.gz freeipa-66eeaceb8cc50902b408e5c97c6d04e59e57f97a.tar.xz freeipa-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/details.js')
-rw-r--r-- | install/ui/details.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/install/ui/details.js b/install/ui/details.js index 91e349a38..afab5a7e7 100644 --- a/install/ui/details.js +++ b/install/ui/details.js @@ -378,7 +378,7 @@ IPA.details_facet = function(spec) { that.facet_create_header(container); - that.pkey = $.bbq.getState(that.entity_name+'-pkey'); + that.pkey = IPA.nav.get_state(that.entity_name+'-pkey'); that.create_controls(); @@ -486,7 +486,7 @@ IPA.details_facet = function(spec) { that.show = function() { that.facet_show(); - that.pkey = $.bbq.getState(that.entity_name+'-pkey'); + that.pkey = IPA.nav.get_state(that.entity_name+'-pkey'); that.header.set_pkey(that.pkey); }; @@ -505,7 +505,7 @@ IPA.details_facet = function(spec) { }; function new_key(){ - var pkey = $.bbq.getState(that.entity_name+'-pkey'); + var pkey = IPA.nav.get_state(that.entity_name+'-pkey'); return pkey != that.pkey; } that.new_key = new_key; @@ -626,7 +626,7 @@ IPA.details_facet = function(spec) { that.refresh = function() { - that.pkey = $.bbq.getState(that.entity_name+'-pkey'); + that.pkey = IPA.nav.get_state(that.entity_name+'-pkey'); var command = IPA.command({ entity: that.entity_name, |