From a56c1e58696a2489bf5bf8dd5aca603977c76a1c Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Fri, 19 Sep 2014 18:27:35 +0200 Subject: 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 --- install/ui/src/freeipa/association.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit