WordPress.org

Make WordPress Core

Changeset 7584


Ignore:
Timestamp:
04/01/08 21:12:35 (6 years ago)
Author:
westi
Message:

Rearrange the media uploader view so the filename is visible. Fixes #6517 for trunk props andy.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/media.css

    r7495 r7584  
    9292} 
    9393 
    94 .filename { 
    95     display: none; 
     94.filename.original { 
     95    z-index: 10; 
     96    position: absolute; 
     97} 
     98.crunching { 
     99    display: block; 
     100    line-height: 32px; 
     101    text-align: right; 
     102    margin-right: 5px; 
    96103} 
    97104button.dismiss { 
     
    217224    min-height: 36px; 
    218225} 
    219 #media-upload .filename { 
     226.filename { 
    220227    display: block; 
    221228    line-height: 36px; 
  • trunk/wp-includes/js/swfupload/handlers.js

    r7572 r7584  
    2525    jQuery('#media-item-' + fileObj.id + ' .bar').width(620*bytesDone/bytesTotal); 
    2626 
    27     if ( bytesDone== bytesTotal ) 
    28         jQuery('#media-item-' + fileObj.id + ' .bar').html('<strong style="display: block; padding-top: 9px; padding-left: 1em;">' + swfuploadL10n.crunching + '</strong>'); 
     27    if ( bytesDone == bytesTotal ) 
     28        jQuery('#media-item-' + fileObj.id + ' .bar').html('<strong class="crunching">' + swfuploadL10n.crunching + '</strong>'); 
    2929} 
    3030 
  • trunk/wp-includes/script-loader.php

    r7556 r7584  
    8888        ) ); 
    8989        $this->add( 'swfupload-queue', '/wp-includes/js/swfupload/plugins/swfupload.queue.js', array('swfupload'), '2.0.2'); 
    90         $this->add( 'swfupload-handlers', '/wp-includes/js/swfupload/handlers.js', array('swfupload'), '2.0.2-20080301'); 
     90        $this->add( 'swfupload-handlers', '/wp-includes/js/swfupload/handlers.js', array('swfupload'), '2.0.2-20080331'); 
    9191        // these error messages came from the sample swfupload js, they might need changing. 
    9292        $this->localize( 'swfupload-handlers', 'swfuploadL10n', array( 
Note: See TracChangeset for help on using the changeset viewer.