diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-04-07 16:14:58 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@people01.fedoraproject.org> | 2011-04-11 16:03:37 +0000 |
commit | 689fd30b522c1bb77bb6e087bdfca940553fe495 (patch) | |
tree | 7a95153df1983c3384e4f0a3957723da5d73fad8 /install/ui/host.js | |
parent | f0f83a862eee908c308c25561a18f8b1e218c081 (diff) | |
download | freeipa-689fd30b522c1bb77bb6e087bdfca940553fe495.tar.gz freeipa-689fd30b522c1bb77bb6e087bdfca940553fe495.tar.xz freeipa-689fd30b522c1bb77bb6e087bdfca940553fe495.zip |
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.
Diffstat (limited to 'install/ui/host.js')
-rw-r--r-- | install/ui/host.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/host.js b/install/ui/host.js index dc1c0ee15..c7424fbe5 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 |