Make WordPress Core

Changeset 7585


Ignore:
Timestamp:
04/01/2008 09:14:17 PM (17 years ago)
Author:
westi
Message:

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

Location:
branches/2.5
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-admin/css/media.css

    r7495 r7585  
    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;
  • branches/2.5/wp-includes/js/swfupload/handlers.js

    r7573 r7585  
    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
  • branches/2.5/wp-includes/script-loader.php

    r7556 r7585  
    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.