summaryrefslogtreecommitdiffstats
path: root/install/ui/user.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-10-19 18:11:09 -0200
committerEndi S. Dewata <edewata@redhat.com>2011-10-25 15:11:12 +0000
commit09f3e9869a27adc8c07c305a2aa5107690aa1d04 (patch)
tree6712f2293f864e0d314e3c340c90be272ded22fa /install/ui/user.js
parentb4ebcad0e0f27ffcad73aa9bd7246f89d0dd7c9f (diff)
downloadfreeipa-09f3e9869a27adc8c07c305a2aa5107690aa1d04.tar.gz
freeipa-09f3e9869a27adc8c07c305a2aa5107690aa1d04.tar.xz
freeipa-09f3e9869a27adc8c07c305a2aa5107690aa1d04.zip
Fixed inconsistent required/optional attributes.
The dialogs and details pages have been modified to use the * symbol to mark required fields. The automount map and the DNS zone dialogs have been modified to update the required fields according to the input type. Ticket #1696, #1973
Diffstat (limited to 'install/ui/user.js')
-rw-r--r--install/ui/user.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/install/ui/user.js b/install/ui/user.js
index 60958cb43..bfda51d84 100644
--- a/install/ui/user.js
+++ b/install/ui/user.js
@@ -141,9 +141,8 @@ IPA.entity_factories.user = function() {
adder_dialog({
fields: [
{
- factory : IPA.text_widget,
- optional: true,
- name:'uid'
+ name: 'uid',
+ required: false
},
'givenname',
'sn'