Field for DNS SOA class changed to combobox with options

https://fedorahosted.org/freeipa/ticket/602

SOA class is an enumerated field. Changing input field to combobox with options allows inserting only valid value.
This commit is contained in:
Petr Vobornik
2011-11-03 15:14:15 +01:00
committed by Endi S. Dewata
parent 32a506cac8
commit 6d3924024c

View File

@@ -62,7 +62,13 @@ IPA.entity_factories.dnszone = function() {
'idnssoaexpire',
'idnssoaminimum',
'dnsttl',
'dnsclass',
{
factory: IPA.combobox_widget,
name: 'dnsclass',
options: [
'IN', 'CS', 'CH', 'HS'
]
},
{
factory: IPA.radio_widget,
name: 'idnsallowdynupdate',