From e433379c469ab8dba80cb76f906d794e4f61b132 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 25 Oct 2012 13:42:18 +0200 Subject: 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 --- install/ui/field.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui/field.js') 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); -- cgit