summaryrefslogtreecommitdiffstats
path: root/install/ui/widget.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-10-25 18:41:45 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-10-27 13:48:51 +0000
commit7142cee430a194cca1208ce4ebcd70ee892af1b9 (patch)
treeb5850c550433b1105bb9fefcb46bb1d9011c8c6a /install/ui/widget.js
parent725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3 (diff)
downloadfreeipa-7142cee430a194cca1208ce4ebcd70ee892af1b9.tar.gz
freeipa-7142cee430a194cca1208ce4ebcd70ee892af1b9.tar.xz
freeipa-7142cee430a194cca1208ce4ebcd70ee892af1b9.zip
Refactored validation code.
The validation code in details facet, dialog, and sections have been modified to work more consistently.
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r--install/ui/widget.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index 948e6fd52..7f2260c73 100644
--- a/install/ui/widget.js
+++ b/install/ui/widget.js
@@ -118,7 +118,7 @@ IPA.widget = function(spec) {
}
};
- that.check_required = function() {
+ that.validate_required = function() {
var values = that.save();
if (!values || !values.length || values[0] === '') {
if (that.is_required()) {