The IPA.checkboxes_widget has been modified such that it performs validation when the checkboxes are clicked. This will also clear any validation errors.
Pushed under one-liner/trivial rule. -- Endi S. Dewata
From 7136e1600acb31953b20a78688d3dd83c4569253 Mon Sep 17 00:00:00 2001 From: Endi S. Dewata <[email protected]> Date: Wed, 26 Oct 2011 18:46:20 -0500 Subject: [PATCH] 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. --- install/ui/widget.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/install/ui/widget.js b/install/ui/widget.js index b4f57d03ca6f5ba6ccf23fa401ac3095c7770e0b..7f2260c73156c1bf263b4d987edd404bc96ec92d 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -911,6 +911,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); -- 1.7.5.1
_______________________________________________ Freeipa-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/freeipa-devel
