summaryrefslogtreecommitdiffstats
path: root/install/ui/field.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-01-09 10:56:24 +0100
committerEndi S. Dewata <edewata@redhat.com>2012-01-11 00:48:44 -0600
commit74857a8ee465819b262c3445ea22119196e92c5e (patch)
tree2626c2042c0b3a35a7032f8143ea19075dad1966 /install/ui/field.js
parent05345ce8c8007dd3ef708ae9049423937d543c67 (diff)
downloadfreeipa.git-74857a8ee465819b262c3445ea22119196e92c5e.tar.gz
freeipa.git-74857a8ee465819b262c3445ea22119196e92c5e.tar.xz
freeipa.git-74857a8ee465819b262c3445ea22119196e92c5e.zip
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
Diffstat (limited to 'install/ui/field.js')
-rw-r--r--install/ui/field.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/install/ui/field.js b/install/ui/field.js
index 09bd6c12..1caab161 100644
--- a/install/ui/field.js
+++ b/install/ui/field.js
@@ -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();