diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-09-19 18:27:35 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2014-09-25 10:23:01 +0200 |
commit | a56c1e58696a2489bf5bf8dd5aca603977c76a1c (patch) | |
tree | 4327b6dd775052c6c8b037e78b5f0b5d56841b19 /install/ui | |
parent | 2f1f1221701160ebeb4f23078adce3af59892162 (diff) | |
download | freeipa-a56c1e58696a2489bf5bf8dd5aca603977c76a1c.tar.gz freeipa-a56c1e58696a2489bf5bf8dd5aca603977c76a1c.tar.xz freeipa-a56c1e58696a2489bf5bf8dd5aca603977c76a1c.zip |
webui: fix regression in association facet preop
Association facet specs use 'add_method' instead of 'add command'
origin: https://fedorahosted.org/freeipa/ticket/4507
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
Diffstat (limited to 'install/ui')
-rw-r--r-- | install/ui/src/freeipa/association.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/association.js b/install/ui/src/freeipa/association.js index 8fe612e91..d4e1015bf 100644 --- a/install/ui/src/freeipa/association.js +++ b/install/ui/src/freeipa/association.js @@ -830,7 +830,7 @@ exp.association_facet_pre_op = function(spec, context) { // batch associator (default) calls entity_command, serial associator // calls other_entity_command --> if entity doesn't support the command, // switch associators to try the other_entity - var add_command = spec.add_command || 'add_member'; + var add_command = spec.add_method || 'add_member'; if (!metadata_provider.get('@mc:'+entity.name+'_'+add_command)) { spec.associator = IPA.serial_associator; } |