Media modal: do not attempt to focus the hidden file input field added by Plupload when tabbing. Props afercia, fixes #30392.
Built from https://develop.svn.wordpress.org/trunk@31117 git-svn-id: http://core.svn.wordpress.org/trunk@31098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
709698a579
commit
71885dceca
|
@ -3767,7 +3767,8 @@
|
|||
return;
|
||||
}
|
||||
|
||||
tabbables = this.$( ':tabbable' );
|
||||
// Skip the file input added by Plupload.
|
||||
tabbables = this.$( ':tabbable' ).not( '.moxie-shim input[type="file"]' );
|
||||
|
||||
// Keep tab focus within media modal while it's open
|
||||
if ( tabbables.last()[0] === event.target && ! event.shiftKey ) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31116';
|
||||
$wp_version = '4.2-alpha-31117';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue