diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-10-25 13:42:18 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-01-07 10:53:58 +0100 |
commit | e433379c469ab8dba80cb76f906d794e4f61b132 (patch) | |
tree | 54edbc10bf9400744a802c02fa8f8504f8179053 /install/ui/field.js | |
parent | 3df18f5583ff96d505fe9249949bd4493df68172 (diff) | |
download | freeipa.git-e433379c469ab8dba80cb76f906d794e4f61b132.tar.gz freeipa.git-e433379c469ab8dba80cb76f906d794e4f61b132.tar.xz freeipa.git-e433379c469ab8dba80cb76f906d794e4f61b132.zip |
Standardize login password reset, user reset password and host set OTP dialogs
In all dialogs:
* validation notification was standardized
* can be confirmed by enter
User pwd dialog has fixed focus of first element.
https://fedorahosted.org/freeipa/ticket/2884
https://fedorahosted.org/freeipa/ticket/3200
Standartize password reset dialog
Diffstat (limited to 'install/ui/field.js')
-rw-r--r-- | install/ui/field.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/field.js b/install/ui/field.js index 612c8eb5..ff807dcf 100644 --- a/install/ui/field.js +++ b/install/ui/field.js @@ -510,8 +510,8 @@ IPA.same_password_validator = function(spec) { var that = IPA.validator(spec); that.other_field = spec.other_field; - that.message = spec.message || IPA.messages.password.password_must_match; - + that.message = spec.message || IPA.get_message('password.password_must_match', + "Passwords must match"); that.validate = function(value, context) { var other_field = context.container.fields.get_field(that.other_field); |