Changeset 28577
- Timestamp:
- 05/26/2014 10:48:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-views.js
r28371 r28577 786 786 media.controller.GalleryEdit = media.controller.Library.extend({ 787 787 defaults: { 788 id: 'gallery-edit', 789 multiple: false, 790 describe: true, 791 edge: 199, 792 editing: false, 793 sortable: true, 794 searchable: false, 795 toolbar: 'gallery-edit', 796 content: 'browse', 797 title: l10n.editGalleryTitle, 798 priority: 60, 799 dragInfo: true, 788 id: 'gallery-edit', 789 multiple: false, 790 describe: true, 791 edge: 199, 792 editing: false, 793 sortable: true, 794 searchable: false, 795 toolbar: 'gallery-edit', 796 content: 'browse', 797 title: l10n.editGalleryTitle, 798 priority: 60, 799 dragInfo: true, 800 displaySettings: true, 800 801 801 802 // Don't sync the selection, as the Edit Gallery library … … 839 840 840 841 gallerySettings: function( browser ) { 842 if ( ! this.get('displaySettings') ) { 843 return; 844 } 845 841 846 var library = this.get('library'); 842 847 843 if ( ! library || ! browser ) 848 if ( ! library || ! browser ) { 844 849 return; 850 } 845 851 846 852 library.gallery = library.gallery || new Backbone.Model();
Note: See TracChangeset
for help on using the changeset viewer.