summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-06 11:53:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-06 11:53:55 +0000
commit237f1302694d779a96b0fd9f3b7dbe82fc6e05d1 (patch)
tree3c93114609006856cf145e9fc5773491a138f315
parent9906227898ff5670aa4781bf3ff578fdf3a356c3 (diff)
downloaddrakx-237f1302694d779a96b0fd9f3b7dbe82fc6e05d1.tar
drakx-237f1302694d779a96b0fd9f3b7dbe82fc6e05d1.tar.gz
drakx-237f1302694d779a96b0fd9f3b7dbe82fc6e05d1.tar.bz2
drakx-237f1302694d779a96b0fd9f3b7dbe82fc6e05d1.tar.xz
drakx-237f1302694d779a96b0fd9f3b7dbe82fc6e05d1.zip
(setRootPassword): have the focus on the password field
-rw-r--r--perl-install/install_steps_interactive.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index f1a7af736..b1e9876fe 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -943,6 +943,7 @@ sub setRootPassword {
title => N("Set root password"),
messages => N("Set root password"),
cancel => ($o->{security} <= 2 && !$::corporate ? N("No password") : ''),
+ focus_first => 1,
callbacks => {
complete => sub {
$sup->{password} eq $sup->{password2} or $o->ask_warn('', [ N("The passwords do not match"), N("Please try again") ]), return (1,0);