summaryrefslogtreecommitdiffstats
path: root/install/ui/dialog.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-06-27 15:57:40 -0400
committerAdam Young <ayoung@redhat.com>2011-06-27 20:15:56 -0400
commit6e967d8fe709150d44b9af8df7312641a8747acf (patch)
tree829f50ece4af03d10a9965dcc778da9f6a29949d /install/ui/dialog.js
parentd2d5278c52650cb90f1d77ac748f0a73f401bf5a (diff)
downloadfreeipa-6e967d8fe709150d44b9af8df7312641a8747acf.tar.gz
freeipa-6e967d8fe709150d44b9af8df7312641a8747acf.tar.xz
freeipa-6e967d8fe709150d44b9af8df7312641a8747acf.zip
validate required fields https://fedorahosted.org/freeipa/ticket/1329
overides required with optional.
Diffstat (limited to 'install/ui/dialog.js')
-rw-r--r--install/ui/dialog.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/install/ui/dialog.js b/install/ui/dialog.js
index f4aa71828..4ca38a914 100644
--- a/install/ui/dialog.js
+++ b/install/ui/dialog.js
@@ -344,8 +344,6 @@ IPA.dialog = function(spec) {
var factory = field_spec.factory || IPA.text_widget;
field = factory(field_spec);
- field.optional = field_spec.optional || false;
-
/* This is a bit of a hack, and is here to support ACI
permissions. The target section is a group of several
widgets together. It makes more sense to do them as a