From 689fd30b522c1bb77bb6e087bdfca940553fe495 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 7 Apr 2011 16:14:58 -0500 Subject: Refactored builder interface. The IPA.entity_builder has been modified to take a 'factory' parameter in custom facet's and custom dialog's spec. The IPA.dialog has been modified to take an array of fields in the spec. The IPA.search_facet has been modified to take an array of columns in the spec. --- install/ui/host.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install/ui/host.js') diff --git a/install/ui/host.js b/install/ui/host.js index dc1c0ee1..c7424fbe 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -70,9 +70,10 @@ IPA.entity_factories.host = function () { } ] }]}). - facet(IPA.host_managedby_host_facet({ + facet({ + factory: IPA.host_managedby_host_facet, name: 'managedby_host' - })). + }). association_facet({ name: 'memberof_hostgroup', associator: IPA.serial_associator -- cgit