Don't try to focus disabled input fields in the request filesystem credentials form.

fixes #32064.
Built from https://develop.svn.wordpress.org/trunk@32267


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

View File

@ -235,7 +235,7 @@ window.wp = window.wp || {};
wp.updates.updateLock = false; wp.updates.updateLock = false;
$(document).trigger( 'wp-plugin-update-success', response ); $(document).trigger( 'wp-plugin-update-success', response );
wp.updates.queueChecker(); wp.updates.queueChecker();
}; };
@ -373,7 +373,7 @@ window.wp = window.wp || {};
$( 'body' ).addClass( 'modal-open' ); $( 'body' ).addClass( 'modal-open' );
$modal.show(); $modal.show();
$modal.find( '#hostname' ).focus(); $modal.find( 'input:enabled:first' ).focus();
$modal.keydown( wp.updates.keydown ); $modal.keydown( wp.updates.keydown );
}; };

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-RC3-32266'; $wp_version = '4.2-RC3-32267';
/** /**
* 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.