Changeset 22040
- Timestamp:
- 09/27/2012 05:28:37 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/media-views.js
r22036 r22040 404 404 // Track uploading attachments. 405 405 wp.Uploader.queue.on( 'add remove reset change:percent', this.renderUploadProgress, this ); 406 wp.Uploader.queue.on( 'add', this.selectUpload, this ); 406 407 }, 407 408 … … 428 429 browser: this.$('.upload-attachments a') 429 430 }, this.options.uploader ) ); 431 }, 432 433 selectUpload: function( attachment ) { 434 this.controller.selection.add( attachment ); 430 435 }, 431 436
Note: See TracChangeset
for help on using the changeset viewer.