Ticket #32324: 32324.patch
File 32324.patch, 1.9 KB (added by , 10 years ago) |
---|
-
src/wp-includes/js/media-grid.js
311 311 // TODO: the Frame should be doing all of this. 312 312 if ( this.controller.isModeActive( 'select' ) ) { 313 313 this.model.set( 'text', l10n.cancelSelection ); 314 children.not( '. media-button' ).hide();314 children.not( '.spinner, .media-button' ).hide(); 315 315 this.$el.show(); 316 316 toolbar.$( '.delete-selected-button' ).removeClass( 'hidden' ); 317 317 } else { … … 319 319 this.controller.content.get().$el.removeClass( 'fixed' ); 320 320 toolbar.$el.css( 'width', '' ); 321 321 toolbar.$( '.delete-selected-button' ).addClass( 'hidden' ); 322 children.not( '. spinner, .media-button' ).show();322 children.not( '.media-button' ).show(); 323 323 this.controller.state().get( 'selection' ).reset(); 324 324 } 325 325 } -
src/wp-includes/js/media/views/button/select-mode-toggle.js
47 47 // TODO: the Frame should be doing all of this. 48 48 if ( this.controller.isModeActive( 'select' ) ) { 49 49 this.model.set( 'text', l10n.cancelSelection ); 50 children.not( '. media-button' ).hide();50 children.not( '.spinner, .media-button' ).hide(); 51 51 this.$el.show(); 52 52 toolbar.$( '.delete-selected-button' ).removeClass( 'hidden' ); 53 53 } else { … … 55 55 this.controller.content.get().$el.removeClass( 'fixed' ); 56 56 toolbar.$el.css( 'width', '' ); 57 57 toolbar.$( '.delete-selected-button' ).addClass( 'hidden' ); 58 children.not( '. spinner, .media-button' ).show();58 children.not( '.media-button' ).show(); 59 59 this.controller.state().get( 'selection' ).reset(); 60 60 } 61 61 }