diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-04-16 12:59:38 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:26 +0200 |
commit | e100ba7e2b14b74ed548ee0dd6ba1093b17dd795 (patch) | |
tree | 6b675d9643a74b717ecb70e0c642405818311472 /install/ui/src/freeipa/user.js | |
parent | 1221fca6628450c6cd3031b377c7426fa4b1b0ad (diff) | |
download | freeipa-e100ba7e2b14b74ed548ee0dd6ba1093b17dd795.tar.gz freeipa-e100ba7e2b14b74ed548ee0dd6ba1093b17dd795.tar.xz freeipa-e100ba7e2b14b74ed548ee0dd6ba1093b17dd795.zip |
Replace build logic in widget and field builder by new builder
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/user.js')
-rw-r--r-- | install/ui/src/freeipa/user.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/install/ui/src/freeipa/user.js b/install/ui/src/freeipa/user.js index 2a326bb99..4fd4a7804 100644 --- a/install/ui/src/freeipa/user.js +++ b/install/ui/src/freeipa/user.js @@ -118,7 +118,7 @@ IPA.user.entity = function(spec) { 'loginshell', 'homedirectory', { - type: 'sshkeys', + $type: 'sshkeys', name: 'ipasshpubkey', label: '@i18n:objects.sshkeystore.keys' } @@ -194,11 +194,11 @@ IPA.user.entity = function(spec) { { name: 'contact', fields: [ - { type: 'multivalued', name: 'mail' }, - { type: 'multivalued', name: 'telephonenumber' }, - { type: 'multivalued', name: 'pager' }, - { type: 'multivalued', name: 'mobile' }, - { type: 'multivalued', name: 'facsimiletelephonenumber' } + { $type: 'multivalued', name: 'mail' }, + { $type: 'multivalued', name: 'telephonenumber' }, + { $type: 'multivalued', name: 'pager' }, + { $type: 'multivalued', name: 'mobile' }, + { $type: 'multivalued', name: 'facsimiletelephonenumber' } ] }, { @@ -210,7 +210,7 @@ IPA.user.entity = function(spec) { fields: [ 'ou', { - type: 'entity_select', + $type: 'entity_select', name: 'manager', other_entity: 'user', other_field: 'uid' @@ -300,12 +300,12 @@ IPA.user.entity = function(spec) { { name: 'userpassword', label: '@i18n:password.new_password', - type: 'password' + $type: 'password' }, { name: 'userpassword2', label: '@i18n:password.verify_password', - type: 'password' + $type: 'password' } ] } @@ -495,19 +495,19 @@ IPA.user_password_dialog = function(spec) { { name: 'current_password', label: '@i18n:password.current_password', - type: 'password', + $type: 'password', required: true }, { name: 'password1', label: '@i18n:password.new_password', - type: 'password', + $type: 'password', required: true }, { name: 'password2', label: '@i18n:password.verify_password', - type: 'password', + $type: 'password', validators: [IPA.same_password_validator({ other_field: 'password1' })], |