Don't focus input fields outside of the request filesystem credentials form.

props valendesigns.
fixes #32055.
Built from https://develop.svn.wordpress.org/trunk@32266


git-svn-id: http://core.svn.wordpress.org/trunk@32237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling 2015-04-22 16:24:26 +00:00
parent b29c8c503b
commit 89e45feb4c
2 changed files with 2 additions and 2 deletions

View File

@ -1120,7 +1120,7 @@ jQuery(function($){
jQuery("#ftp, #ftps").click(function () { jQuery("#ftp, #ftps").click(function () {
jQuery("#ssh_keys").hide(); jQuery("#ssh_keys").hide();
}); });
jQuery('form input[value=""]:first').focus(); jQuery('#request-filesystem-credentials-form input[value=""]:first').focus();
}); });
--> -->
</script> </script>

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-RC3-32265'; $wp_version = '4.2-RC3-32266';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.