summaryrefslogtreecommitdiffstats
path: root/install/ui/associate.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-05-06 17:04:09 -0400
committerAdam Young <ayoung@redhat.com>2011-05-26 14:53:40 -0400
commit1636d649264348526012b1f699284ad728e8a43d (patch)
treed65f7427070871b8a50ab3dbf4b8bfab65530da6 /install/ui/associate.js
parent5288bdb79ae7602cb72a735fad0c8b6e62a48df0 (diff)
downloadfreeipa-1636d649264348526012b1f699284ad728e8a43d.tar.gz
freeipa-1636d649264348526012b1f699284ad728e8a43d.tar.xz
freeipa-1636d649264348526012b1f699284ad728e8a43d.zip
automount UI
automount implemented using standard facets and containing_entity pkey generation sample data fixtures for automount. messages for automount and HBAC. modified form of the search facet used to nest the automount entities Add works for nested entities. Delete works for all but keys. Since the API for this is going to change, I'm not going to fix it pre-checkin. All the places the PKEY prefix is needed uses a single function. Added breadcrumb trail into title. update ipa_init sample data add redirect logic for pages without pkeys. add and delete link to appropriate entities for nested search facet. Using on demand entities. Fixed breadcrumbs.
Diffstat (limited to 'install/ui/associate.js')
-rw-r--r--install/ui/associate.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/associate.js b/install/ui/associate.js
index 4d9e728d1..b237d326f 100644
--- a/install/ui/associate.js
+++ b/install/ui/associate.js
@@ -1024,11 +1024,12 @@ IPA.association_facet = function (spec) {
summary.append('<p>'+error_thrown.message+'</p>');
}
- var pkey = $.bbq.getState(that.entity_name + '-pkey', true) || '';
+ var pkey = IPA.get_entity(that.entity_name).get_primary_key();
+
IPA.command({
entity: that.entity_name,
method: 'show',
- args: [pkey],
+ args: pkey,
options: {'all': true, 'rights': true},
on_success: on_success,
on_error: on_error