Changeset 22972
- Timestamp:
- 12/02/2012 04:55:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/media-editor.js
r22952 r22972 211 211 others = _.omit( attrs, 'id', 'ids', 'include', 'exclude', 'orderby', 'order' ); 212 212 213 query = media.query( args );213 query = wp.media.query( args ); 214 214 query.gallery = new Backbone.Model( others ); 215 215 return query; … … 475 475 } 476 476 477 return media.post( 'send-attachment-to-editor', {477 return wp.media.post( 'send-attachment-to-editor', { 478 478 nonce: wp.media.view.settings.nonce.sendToEditor, 479 479 attachment: options, … … 486 486 487 487 link: function( embed ) { 488 return media.post( 'send-link-to-editor', {488 return wp.media.post( 'send-link-to-editor', { 489 489 nonce: wp.media.view.settings.nonce.sendToEditor, 490 490 src: embed.linkUrl,
Note: See TracChangeset
for help on using the changeset viewer.