mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Added IP address validator to Host and DNS record adder dialog
Also fixed minor issues reagarding IP addresses or multivalued field: - removed unnecessary method overrides from multivalued_field - fixed extract_child_value method in multivalued_widget to return '' instead of empty arrays when value array is empty - net.js - changed method name and error message from 'trailing zeros' to 'leading zeros' https://fedorahosted.org/freeipa/ticket/1466
This commit is contained in:
committed by
Endi S. Dewata
parent
05345ce8c8
commit
74857a8ee4
@@ -504,11 +504,6 @@ IPA.multivalued_field = function(spec) {
|
||||
|
||||
var that = IPA.field(spec);
|
||||
|
||||
that.widgets_created = function() {
|
||||
|
||||
that.field_widgets_created();
|
||||
};
|
||||
|
||||
that.load = function(record) {
|
||||
|
||||
that.field_load(record);
|
||||
@@ -520,11 +515,6 @@ IPA.multivalued_field = function(spec) {
|
||||
return dirty;
|
||||
};
|
||||
|
||||
that.widget_value_changed = function() {
|
||||
that.set_dirty(that.test_dirty());
|
||||
that.validate();
|
||||
};
|
||||
|
||||
that.validate = function() {
|
||||
|
||||
that.hide_error();
|
||||
|
||||
Reference in New Issue
Block a user