From 1b0ede0776cf292797ef765fcf04a0edc7f1fec2 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 7 Mar 2012 09:28:54 +0100 Subject: Add support of new options in dnsconfig dnsconfig was extended of new attributes, so reflecting it in UI. New attributes: * idnsForwardPolicy * idnsAllowSyncPTR * idnsZoneRefresh https://fedorahosted.org/freeipa/ticket/2489 --- install/ui/dns.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'install/ui/dns.js') diff --git a/install/ui/dns.js b/install/ui/dns.js index 512d2cc2..54683586 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -42,11 +42,22 @@ IPA.dns.config_entity = function(spec) { name: 'options', label: IPA.messages.objects.dnsconfig.options, fields: [ + { + type: 'checkbox', + name: 'idnsallowsyncptr' + }, { type: 'multivalued', name: 'idnsforwarders', validators: [IPA.ip_address_validator()] - } + }, + { + type: 'checkboxes', + name: 'idnsforwardpolicy', + mutex: true, + options: IPA.create_options(['only', 'first']) + }, + 'idnszonerefresh' ] } ], -- cgit