summaryrefslogtreecommitdiffstats
path: root/install/ui/associate.js
diff options
context:
space:
mode:
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