Changeset 22506
- Timestamp:
- 11/09/2012 12:09:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/media-views.js
r22501 r22506 503 503 504 504 initialize: function() { 505 // If we haven't been provided a `library`, create a `Selection`. 506 if ( ! this.get('library') ) 507 this.set( 'library', new media.model.Selection() ); 508 505 509 // The single `Attachment` view to be used in the `Attachments` view. 506 510 if ( ! this.get('AttachmentView') ) … … 847 851 // Gallery states. 848 852 new media.controller.Gallery({ 853 library: options.selection, 849 854 editing: options.editing, 850 855 menu: 'gallery'
Note: See TracChangeset
for help on using the changeset viewer.