diff options
Diffstat (limited to 'install/ui/field.js')
-rw-r--r-- | install/ui/field.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/install/ui/field.js b/install/ui/field.js index 46802be6..2922ce0f 100644 --- a/install/ui/field.js +++ b/install/ui/field.js @@ -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; } |