diff options
author | Adam Young <ayoung@redhat.com> | 2010-11-19 15:57:40 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2010-11-29 21:13:26 -0500 |
commit | 7b91e9d83dd12c18ebe5d57f3fb86e1c27703b58 (patch) | |
tree | bd43147c1fde8019b8ff4870ec2b13620aebb1b8 /install/static/associate.js | |
parent | b683c7261bcadc6899168d7cff8bd218a3501ba6 (diff) | |
download | freeipa.git-7b91e9d83dd12c18ebe5d57f3fb86e1c27703b58.tar.gz freeipa.git-7b91e9d83dd12c18ebe5d57f3fb86e1c27703b58.tar.xz freeipa.git-7b91e9d83dd12c18ebe5d57f3fb86e1c27703b58.zip |
top nav index allows links between differnt top level tabs by calculating the index of the top level tab for the target tab. new version creats third level navigation for nested entities, such as SUDO and HBAC
Diffstat (limited to 'install/static/associate.js')
-rw-r--r-- | install/static/associate.js | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/install/static/associate.js b/install/static/associate.js index 01f7551a..ddfd78c2 100644 --- a/install/static/associate.js +++ b/install/static/associate.js @@ -248,12 +248,15 @@ function ipa_association_widget(spec) { that.create = function(container) { - that.member_attribute = ipa_get_member_attribute(that.entity_name, that.other_entity); + that.member_attribute = ipa_get_member_attribute( + that.entity_name, that.other_entity); that.create_column({ - 'name': that.member_attribute + '_' + that.other_entity, - 'label': IPA.metadata[that.other_entity].label, - 'primary_key': true + name: that.member_attribute + '_' + that.other_entity, + other_entity : that.other_entity, + label: IPA.metadata[that.other_entity].label, + primary_key: true, + link: true }); that.superior_create(container); @@ -466,6 +469,10 @@ function ipa_association_facet(spec) { that.table.refresh(); }; + //TODO find out why this is needed + that.refresh = function(){ + } + return that; } |