From 5203c031977a812890e091fb82de62ab9fcc2b75 Mon Sep 17 00:00:00 2001 From: Peter Westwood 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: https://develop.svn.wordpress.org/trunk@10628 602fd350-edb4-49c9-b593-d223f7449a82 --- 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(); }); -->