Make WordPress Core

Changeset 31117


Ignore:
Timestamp:
01/09/2015 09:46:03 PM (12 years ago)
Author:
azaozz
Message:

Media modal: do not attempt to focus the hidden file input field added by Plupload when tabbing. Props afercia, fixes #30392.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/media-views.js

    r31096 r31117  
    37683768                        }
    37693769
    3770                         tabbables = this.$( ':tabbable' );
     3770                        // Skip the file input added by Plupload.
     3771                        tabbables = this.$( ':tabbable' ).not( '.moxie-shim input[type="file"]' );
    37713772
    37723773                        // Keep tab focus within media modal while it's open
Note: See TracChangeset for help on using the changeset viewer.