diff options
Diffstat (limited to 'install/ui/associate.js')
-rw-r--r-- | install/ui/associate.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/associate.js b/install/ui/associate.js index 4d9e728d..b237d326 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 |