Changeset 28998
- Timestamp:
- 07/04/2014 05:13:46 AM (10 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/media-grid.js
r28995 r28998 1 /* global _wpMediaViewsL10n, setUserSetting, deleteUserSetting, MediaElementPlayer */ 1 2 (function($, _, Backbone, wp) { 2 3 var media = wp.media, l10n; … … 95 96 var mode = this.get( 'content' ); 96 97 if ( mode ) { 97 this.frame [ 'content' ].render( mode );98 this.frame.content.render( mode ); 98 99 } 99 100 } … … 219 220 editPreviousAttachment: function( currentModel ) { 220 221 var library = this.state().get('library'), 221 222 currentModelIndex = library.indexOf( currentModel ); 222 223 this.trigger( 'edit:attachment', library.at( currentModelIndex - 1 ) ); 223 224 }, … … 225 226 editNextAttachment: function( currentModel ) { 226 227 var library = this.state().get('library'), 227 228 currentModelIndex = library.indexOf( currentModel ); 228 229 this.trigger( 'edit:attachment', library.at( currentModelIndex + 1 ) ); 229 230 }, … … 343 344 }, 344 345 345 initialize: function( options) {346 initialize: function() { 346 347 var self = this; 347 348 media.view.Frame.prototype.initialize.apply( this, arguments ); -
trunk/src/wp-includes/media-template.php
r28997 r28998 236 236 </label> 237 237 <label class="setting"> 238 <span><?php _e( ' Attached to' ); ?></span>238 <span><?php _e( 'Uploaded to' ); ?></span> 239 239 <input type="checkbox" data-setting="uploadedTo" {{ '' === getUserSetting( 'hidegriduploadedTo' ) && 'checked' }} /> 240 240 </label>
Note: See TracChangeset
for help on using the changeset viewer.