From 82fbfbd773fb6b97ad30852c4692148fb9575b39 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 13 Jun 2011 16:18:48 -0500 Subject: Fixed paging for indirect members. Since ticket #1273 has been fixed, the indirect members can be shown using the regular association facet which supports paging. --- install/ui/entity.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'install/ui/entity.js') diff --git a/install/ui/entity.js b/install/ui/entity.js index 107c3c4d4..599bd2eec 100644 --- a/install/ui/entity.js +++ b/install/ui/entity.js @@ -812,15 +812,7 @@ IPA.entity_builder = function(){ } } - var factory = spec.factory; - if (!factory) { - if (spec.facet_group == 'memberindirect') { - factory = IPA.indirect_association_facet; - } else { - factory = IPA.association_facet; - } - } - + var factory = spec.factory || IPA.association_facet; facet = factory(spec); entity.add_facet(facet); -- cgit