Ticket #29037: 29037.patch
| File 29037.patch, 1.4 KB (added by , 12 years ago) |
|---|
-
src/wp-includes/css/media-views.css
442 442 margin: 0; 443 443 } 444 444 445 .sidebar-for-errors .attachment-details, 446 .sidebar-for-errors .compat-item, 447 .sidebar-for-errors .media-progress-bar, 448 .sidebar-for-errors .upload-details { 449 display: none !important; 450 } 445 451 446 452 /** 447 453 * Menu -
src/wp-includes/js/media-grid.js
226 226 }, 227 227 228 228 sidebarVisibility: function() { 229 this.browserView.$( '.media-sidebar' ).toggle( this.errors.length );229 this.browserView.$( '.media-sidebar' ).toggle( this.errors.length > 0 ); 230 230 }, 231 231 232 232 bindDeferred: function() { -
src/wp-includes/js/media-views.js
5771 5771 5772 5772 if ( ! this.options.sidebar || 'errors' === this.options.sidebar ) { 5773 5773 this.$el.addClass( 'hide-sidebar' ); 5774 5775 if ( 'errors' === this.options.sidebar ) { 5776 this.$el.addClass( 'sidebar-for-errors' ); 5777 } 5774 5778 } 5775 5779 5776 5780 this.collection.on( 'add remove reset', this.updateContent, this );