Ticket #21776: 21776.galleries.diff
File 21776.galleries.diff, 1.0 KB (added by , 12 years ago) |
---|
-
wp-includes/js/media-editor.js
304 304 editing: true, 305 305 multiple: true, 306 306 selection: selection 307 }) ;307 }).open(); 308 308 309 309 return this.frame; 310 310 } -
wp-includes/js/media-views.js
1141 1141 this.on( 'attach', _.bind( this.views.ready, this.views ), this ); 1142 1142 }, 1143 1143 1144 render: function() { 1145 // Activate the default state if no active state exists. 1146 if ( ! this.state() && this.options.state ) 1147 this.setState( this.options.state ); 1148 1149 return media.view.Frame.prototype.render.apply( this, arguments ); 1150 }, 1151 1144 1152 createIframeStates: function( options ) { 1145 1153 var settings = media.view.settings, 1146 1154 tabs = settings.tabs,