Changeset 22543
- Timestamp:
- 11/11/2012 05:16:41 AM (12 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/css/media-views.css
r22541 r22543 934 934 } 935 935 936 .uploading .attachment-info .thumbnail { 937 width: 120px; 938 height: 80px; 939 box-shadow: inset 0 0 15px rgba( 0, 0, 0, 0.1 ); 940 } 941 942 .uploading .attachment-info .media-progress-bar { 943 margin-top: 32px; 944 } 945 936 946 .attachment-info .thumbnail:after { 937 947 content: ''; -
trunk/wp-includes/js/media-views.js
r22541 r22543 1955 1955 var attachment = this.model.toJSON(), 1956 1956 options = _.defaults( this.model.toJSON(), { 1957 orientation: 'landscape', 1958 uploading: false, 1959 type: '', 1960 subtype: '', 1961 icon: '', 1962 filename: '', 1963 caption: '', 1964 title: '' 1957 orientation: 'landscape', 1958 uploading: false, 1959 type: '', 1960 subtype: '', 1961 icon: '', 1962 filename: '', 1963 caption: '', 1964 title: '', 1965 dateFormatted: '', 1966 width: '', 1967 height: '', 1968 compat: false, 1969 alt: '' 1965 1970 }); 1966 1971 … … 1973 1978 this.$el.html( this.template( options ) ); 1974 1979 1980 this.$el.toggleClass( 'uploading', options.uploading ); 1975 1981 if ( options.uploading ) 1976 1982 this.$bar = this.$('.media-progress-bar div'); -
trunk/wp-includes/js/plupload/wp-plupload.js
r22320 r22543 148 148 file: file, 149 149 uploading: true, 150 date: new Date() 150 date: new Date(), 151 filename: file.name 151 152 }, _.pick( file, 'loaded', 'size', 'percent' ) ); 152 153 -
trunk/wp-includes/media.php
r22541 r22543 1455 1455 <div class="filename">{{ filename }}</div> 1456 1456 <div class="uploaded">{{ dateFormatted }}</div> 1457 <# if ( 'image' === type ) { #>1457 <# if ( 'image' === type && ! uploading ) { #> 1458 1458 <div class="dimensions">{{ width }} × {{ height }}</div> 1459 1459 <# } #>
Note: See TracChangeset
for help on using the changeset viewer.