summaryrefslogtreecommitdiffstats
path: root/install/ui
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-10-26 18:46:20 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-10-26 23:54:47 +0000
commitdceac44cfdd6e1b8496ed819354768b7dbc63b12 (patch)
treee5a066dbe0dfadbc326481be0c7031db26bc7ec0 /install/ui
parent5773afad44584f02b158a964847c4674269c16e8 (diff)
downloadfreeipa-dceac44cfdd6e1b8496ed819354768b7dbc63b12.tar.gz
freeipa-dceac44cfdd6e1b8496ed819354768b7dbc63b12.tar.xz
freeipa-dceac44cfdd6e1b8496ed819354768b7dbc63b12.zip
Fixed problem clearing validation error on checkboxes.
The IPA.checkboxes_widget has been modified such that it performs validation when the checkboxes are clicked. This will also clear any validation errors.
Diffstat (limited to 'install/ui')
-rw-r--r--install/ui/widget.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index feaf7b209..3dd9b619f 100644
--- a/install/ui/widget.js
+++ b/install/ui/widget.js
@@ -924,6 +924,7 @@ IPA.checkboxes_widget = function (spec) {
var input = $('input[name="'+that.name+'"]', that.container);
input.change(function() {
that.set_dirty(that.test_dirty());
+ that.validate();
});
that.create_error_link(container);