Ticket #25102: 25102.patch
File 25102.patch, 1.2 KB (added by , 11 years ago) |
---|
-
src/wp-includes/js/media-views.js
5103 5103 media.view.Search = media.View.extend({ 5104 5104 tagName: 'input', 5105 5105 className: 'search', 5106 id: 'media-search-input', 5106 5107 5107 5108 attributes: { 5108 5109 type: 'search', … … 5144 5145 media.view.AttachmentFilters = media.View.extend({ 5145 5146 tagName: 'select', 5146 5147 className: 'attachment-filters', 5148 id: 'media-attachment-filters', 5147 5149 5148 5150 events: { 5149 5151 change: 'change' … … 5354 5356 model: this.collection.props, 5355 5357 priority: -80 5356 5358 }).render() ); 5359 this.toolbar.get( 'filters' ).$el.before( $( '<label class="screen-reader-text" for="media-attachment-filters">' + l10n.select + '</label>' ) ); 5357 5360 } 5358 5361 5359 5362 this.toolbar.set( 'spinner', new media.view.Spinner({ … … 5366 5369 model: this.collection.props, 5367 5370 priority: 60 5368 5371 }).render() ); 5372 this.toolbar.get( 'search' ).$el.before( $( '<label class="screen-reader-text" for="media-search-input">' + l10n.search + '</label>' ) ); 5369 5373 } 5370 5374 5371 5375 if ( this.options.dragInfo ) {