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/associate.js | 60 ------------------------------------------------- install/ui/entity.js | 10 +-------- 2 files changed, 1 insertion(+), 69 deletions(-) diff --git a/install/ui/associate.js b/install/ui/associate.js index 3a90f260e..2115e0fe1 100644 --- a/install/ui/associate.js +++ b/install/ui/associate.js @@ -1092,63 +1092,3 @@ IPA.association_facet = function (spec) { return that; }; - -IPA.indirect_association_facet = function (spec) { - - spec = spec || {}; - - spec.page_length = 0; - spec.read_only = true; - - var that = IPA.association_facet(spec); - - that.refresh = function() { - - function on_success(data, text_status, xhr) { - - that.table.empty(); - - var count = data.result.count; - if (count === 0) { - that.table.summary.text(data.result.summary); - return; - } - - var results = data.result.result; - for (var i=0; i