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/dns.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install/ui/dns.js') diff --git a/install/ui/dns.js b/install/ui/dns.js index 36ee2d6e..d7175a14 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -48,10 +48,11 @@ IPA.entity_factories.dnszone = function() { 'dnsclass', 'idnsallowdynupdate', 'idnsupdatepolicy']}]}). - facet(IPA.records_facet({ + facet({ + factory: IPA.records_facet, 'name': 'records', 'label': IPA.metadata.objects.dnsrecord.label - })). + }). standard_association_facets(). build(); }; -- cgit