From cde65967472eefcecb442f7b24258b7041b37589 Mon Sep 17 00:00:00 2001 From: westi Date: Sun, 22 Feb 2009 21:49:48 +0000 Subject: [PATCH] Focus on the first blank field when asking for credentials for upgrade/install. Fixes #9061 props rmccue. git-svn-id: http://svn.automattic.com/wordpress/trunk@10628 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/file.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index cddfaa92f7..d84a16c7ab 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -713,6 +713,7 @@ jQuery(function($){ jQuery("#ftp, #ftps").click(function () { jQuery("#ssh_keys").hide(); }); + jQuery('form input[value=""]:first').focus(); }); -->