From 8e95d1eb4e916c5fb218d161f568afaac0a06f0f Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 22 Sep 2011 11:44:41 -0500 Subject: 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 --- install/ui/user.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'install/ui/user.js') diff --git a/install/ui/user.js b/install/ui/user.js index 6243cd2d..62794ad7 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() { -- cgit