mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
DNS Zone UI: added new attributes
New attributes were added to DNS zone details facet.
Attributes:
idnsallowquery
idnsallowtransfer
idnsforwarders
idnsforwardpolicy
idnsallowsyncptr
New network address validator created for idnsallowquery and idnsallowtransfer attributes.
Network address validator also added to dnszone adder dialog - from_ip field.
https://fedorahosted.org/freeipa/ticket/2351
This commit is contained in:
committed by
Petr Vobornik
parent
7c392cb9a8
commit
a1f8c39f88
@@ -550,11 +550,16 @@ IPA.multivalued_field = function(spec) {
|
||||
|
||||
that.validate = function() {
|
||||
|
||||
var values = that.save();
|
||||
|
||||
return that.validate_core(values);
|
||||
};
|
||||
|
||||
that.validate_core = function(values) {
|
||||
|
||||
that.hide_error();
|
||||
that.valid = true;
|
||||
|
||||
var values = that.save();
|
||||
|
||||
if (that.is_empty(values)) {
|
||||
return that.valid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user