diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-03-14 14:26:14 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:19 +0200 |
commit | 3e392bbfc66e10349b3205d25039a6619a64a29d (patch) | |
tree | 0553314dd841e4a1b96d2c1fee2d67ce6b5a53df /install/ui/src/freeipa/field.js | |
parent | 166102a910bad2002819205b009694372f1f0e22 (diff) | |
download | freeipa-3e392bbfc66e10349b3205d25039a6619a64a29d.tar.gz freeipa-3e392bbfc66e10349b3205d25039a6619a64a29d.tar.xz freeipa-3e392bbfc66e10349b3205d25039a6619a64a29d.zip |
get_primary_key function usages removed
https://fedorahosted.org/freeipa/ticket/3236
Diffstat (limited to 'install/ui/src/freeipa/field.js')
-rw-r--r-- | install/ui/src/freeipa/field.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/field.js b/install/ui/src/freeipa/field.js index 14aae65ec..2f0912d27 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} }); |