Changeset 22824
- Timestamp:
- 11/22/2012 12:35:05 PM (12 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/css/media-views.css
r22821 r22824 798 798 } 799 799 800 .media-uploader-status .upload-error { 801 margin: 8px 0 0 0; 800 .upload-errors .upload-error { 801 max-width: 400px; 802 margin: 8px auto 0 auto; 802 803 padding: 8px; 803 804 border: 1px #c00 solid; … … 806 807 } 807 808 808 . media-uploader-status .upload-error-label {809 .upload-errors .upload-error-label { 809 810 padding: 2px 4px; 810 811 margin-right: 8px; … … 816 817 } 817 818 818 . media-uploader-status .upload-error-message {819 .upload-errors .upload-error-message { 819 820 display: block; 820 821 padding-top: 8px; -
trunk/wp-includes/js/media-views.js
r22823 r22824 1793 1793 if ( ! this.options.$browser && this.controller.uploader ) 1794 1794 this.options.$browser = this.controller.uploader.$browser; 1795 1796 wp.Uploader.errors.on( 'add', this.error, this ); 1797 }, 1798 1799 dispose: function() { 1800 wp.Uploader.errors.off( null, null, this ); 1801 media.View.prototype.dispose.apply( this, arguments ); 1802 return this; 1803 }, 1804 1805 error: function( error ) { 1806 this.views.set( '.upload-errors', new media.view.UploaderStatusError({ 1807 filename: error.get('file').name, 1808 message: error.get('message') 1809 }) ); 1795 1810 }, 1796 1811 -
trunk/wp-includes/media.php
r22821 r22824 1498 1498 </div> 1499 1499 1500 <div class="upload-errors"></div> 1501 1500 1502 <div class="post-upload-ui"> 1501 1503 <?php do_action( 'pre-upload-ui' ); ?> … … 1546 1548 <span class="upload-filename"></span> 1547 1549 </div> 1548 <div class="upload-errors"> 1549 </div> 1550 <div class="upload-errors"></div> 1550 1551 </script> 1551 1552
Note: See TracChangeset
for help on using the changeset viewer.