Changeset 22825
- Timestamp:
- 11/22/2012 12:54:49 PM (12 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/css/media-views.css
r22824 r22825 758 758 position: relative; 759 759 padding-bottom: 10px; 760 } 761 762 .media-sidebar .media-uploader-status { 760 763 border-bottom: 1px solid #dfdfdf; 761 764 box-shadow: 0 1px 0 #fff; 765 } 766 767 .uploader-inline .media-uploader-status h3 { 768 display: none; 762 769 } 763 770 … … 792 799 793 800 .media-uploader-status .upload-dismiss-errors { 794 position: absolute;795 top: 0;796 right: 0;797 801 text-decoration: none; 802 } 803 804 .media-sidebar .media-uploader-status .upload-dismiss-errors { 805 position: absolute; 806 top: 0; 807 right: 0; 798 808 } 799 809 … … 812 822 font-weight: bold; 813 823 color: #fff; 814 background: #f00; 815 background: -webkit-linear-gradient( top, #e00, #a00 ); 824 background: #e00; 825 background-image: -webkit-gradient(linear, left top, left bottom, from(#e00), to(#a00)); 826 background-image: -webkit-linear-gradient(top, #e00, #a00); 827 background-image: -moz-linear-gradient(top, #e00, #a00); 828 background-image: -o-linear-gradient(top, #e00, #a00); 829 background-image: linear-gradient(to bottom, #e00, #a00); 816 830 border-radius: 3px; 817 831 } -
trunk/wp-includes/js/media-views.js
r22824 r22825 1794 1794 this.options.$browser = this.controller.uploader.$browser; 1795 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') 1796 this.views.set( '.upload-inline-status', new media.view.UploaderStatus({ 1797 controller: this.controller 1809 1798 }) ); 1810 1799 }, … … 1845 1834 1846 1835 this.errors = wp.Uploader.errors; 1836 this.errors.reset(); 1847 1837 this.errors.on( 'add remove reset', this.visibility, this ); 1848 1838 this.errors.on( 'add', this.error, this ); 1849 _.each( this.errors.models, this.error, this );1850 1839 }, 1851 1840 -
trunk/wp-includes/media.php
r22824 r22825 1498 1498 </div> 1499 1499 1500 <div class="upload- errors"></div>1500 <div class="upload-inline-status"></div> 1501 1501 1502 1502 <div class="post-upload-ui">
Note: See TracChangeset
for help on using the changeset viewer.