mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 16:43:06 +01:00
Rearrange the media uploader view so the filename is visible. Fixes #6517 for trunk props andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@7584 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bfab269cda
commit
4196a8a505
@ -91,8 +91,15 @@ tr.image-size label {
|
||||
max-height: 40px;
|
||||
}
|
||||
|
||||
.filename {
|
||||
display: none;
|
||||
.filename.original {
|
||||
z-index: 10;
|
||||
position: absolute;
|
||||
}
|
||||
.crunching {
|
||||
display: block;
|
||||
line-height: 32px;
|
||||
text-align: right;
|
||||
margin-right: 5px;
|
||||
}
|
||||
button.dismiss {
|
||||
position: absolute;
|
||||
@ -216,7 +223,7 @@ abbr.required {
|
||||
position: relative;
|
||||
min-height: 36px;
|
||||
}
|
||||
#media-upload .filename {
|
||||
.filename {
|
||||
display: block;
|
||||
line-height: 36px;
|
||||
margin-left: 50px;
|
||||
|
@ -25,7 +25,7 @@ function uploadProgress(fileObj, bytesDone, bytesTotal) {
|
||||
jQuery('#media-item-' + fileObj.id + ' .bar').width(620*bytesDone/bytesTotal);
|
||||
|
||||
if ( bytesDone == bytesTotal )
|
||||
jQuery('#media-item-' + fileObj.id + ' .bar').html('<strong style="display: block; padding-top: 9px; padding-left: 1em;">' + swfuploadL10n.crunching + '</strong>');
|
||||
jQuery('#media-item-' + fileObj.id + ' .bar').html('<strong class="crunching">' + swfuploadL10n.crunching + '</strong>');
|
||||
}
|
||||
|
||||
function prepareMediaItem(fileObj, serverData) {
|
||||
|
@ -87,7 +87,7 @@ class WP_Scripts {
|
||||
'is_lighttpd_before_150' => is_lighttpd_before_150(),
|
||||
) );
|
||||
$this->add( 'swfupload-queue', '/wp-includes/js/swfupload/plugins/swfupload.queue.js', array('swfupload'), '2.0.2');
|
||||
$this->add( 'swfupload-handlers', '/wp-includes/js/swfupload/handlers.js', array('swfupload'), '2.0.2-20080301');
|
||||
$this->add( 'swfupload-handlers', '/wp-includes/js/swfupload/handlers.js', array('swfupload'), '2.0.2-20080331');
|
||||
// these error messages came from the sample swfupload js, they might need changing.
|
||||
$this->localize( 'swfupload-handlers', 'swfuploadL10n', array(
|
||||
'queue_limit_exceeded' => __('You have attempted to queue too many files.'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user