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.
This commit is contained in:
Endi S. Dewata 2011-10-26 18:46:20 -05:00
parent 5773afad44
commit dceac44cfd

View File

@ -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);