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/dns.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/dns.js')
-rw-r--r-- | install/ui/dns.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/install/ui/dns.js b/install/ui/dns.js index 25addc425..8bc14a309 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -228,7 +228,7 @@ IPA.dnsrecord_facet = function(spec) { dialog.add = function() { - var pkey = $.bbq.getState(that.entity_name+'-pkey'); + var pkey = IPA.nav.get_state(that.entity_name+'-pkey'); var resource = dialog.resource.val(); var options = {}; @@ -261,7 +261,7 @@ IPA.dnsrecord_facet = function(spec) { return; } - var zone = $.bbq.getState('dnszone-pkey'); + var zone = IPA.nav.get_state('dnszone-pkey'); var records = []; @@ -433,8 +433,8 @@ IPA.dnsrecord_facet = function(spec) { that.show = function() { that.facet_show(); - that.record = $.bbq.getState(that.entity_name+'-record'); - that.pkey = $.bbq.getState(that.entity_name+'-pkey'); + that.record = IPA.nav.get_state(that.entity_name+'-record'); + that.pkey = IPA.nav.get_state(that.entity_name+'-pkey'); that.header.set_pkey(that.pkey); }; @@ -517,7 +517,7 @@ IPA.dnsrecord_facet = function(spec) { options.data = data_filter; } */ - var args = [$.bbq.getState(that.entity_name+'-pkey')]; + var args = [IPA.nav.get_state(that.entity_name+'-pkey')]; if (filter) { args.push(filter); |