From 3e392bbfc66e10349b3205d25039a6619a64a29d Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 14 Mar 2013 14:26:14 +0100 Subject: get_primary_key function usages removed https://fedorahosted.org/freeipa/ticket/3236 --- install/ui/src/freeipa/field.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui/src/freeipa/field.js') diff --git a/install/ui/src/freeipa/field.js b/install/ui/src/freeipa/field.js index 14aae65e..2f0912d2 100644 --- a/install/ui/src/freeipa/field.js +++ b/install/ui/src/freeipa/field.js @@ -732,7 +732,7 @@ IPA.link_field = function(spec) { that.other_entity = IPA.get_entity(spec.other_entity); function other_pkeys () { - return that.entity.get_primary_key(); + return that.facet.get_pkeys(); } that.other_pkeys = spec.other_pkeys || other_pkeys; @@ -810,7 +810,7 @@ IPA.enable_field = function(spec) { var command = IPA.command({ entity: that.entity.name, method: method, - args: that.entity.get_primary_key(), + args: that.facet.get_pkeys(), options: {all: true, rights: true} }); -- cgit