diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-09-22 11:44:41 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-09-23 13:13:16 +0000 |
commit | 8e95d1eb4e916c5fb218d161f568afaac0a06f0f (patch) | |
tree | a7e3d8fffdb7399c6886db75133d868865afa045 /install/ui/user.js | |
parent | 390d017e321fd5ed56af094cf1f1c74f64e95735 (diff) | |
download | freeipa-8e95d1eb4e916c5fb218d161f568afaac0a06f0f.tar.gz freeipa-8e95d1eb4e916c5fb218d161f568afaac0a06f0f.tar.xz freeipa-8e95d1eb4e916c5fb218d161f568afaac0a06f0f.zip |
Removed undo flags from dialog field specs.
Since the undo flag is now automatically set to false in dialogs,
it's no longer necessary to specify it in the field specs.
Ticket #1394
Diffstat (limited to 'install/ui/user.js')
-rw-r--r-- | install/ui/user.js | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/install/ui/user.js b/install/ui/user.js index 6243cd2d6..62794ad75 100644 --- a/install/ui/user.js +++ b/install/ui/user.js @@ -142,11 +142,12 @@ IPA.entity_factories.user = function() { fields: [ { factory : IPA.text_widget, - undo: false, optional: true, name:'uid' }, - 'givenname', 'sn'] + 'givenname', + 'sn' + ] }); return builder.build(); @@ -324,15 +325,13 @@ IPA.user_password_widget = function(spec) { var password1 = dialog.add_field(IPA.text_widget({ name: 'password1', label: IPA.messages.password.new_password, - type: 'password', - undo: false + type: 'password' })); var password2 = dialog.add_field(IPA.text_widget({ name: 'password2', label: IPA.messages.password.verify_password, - type: 'password', - undo: false + type: 'password' })); dialog.add_button(IPA.messages.password.reset_password, function() { |