Make sure Upload button always shows. Props filosofo. see #6979

git-svn-id: https://develop.svn.wordpress.org/trunk@9465 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-11-01 17:20:55 +00:00
parent 16acf7d11c
commit c786488346
3 changed files with 7 additions and 4 deletions

View File

@@ -1218,7 +1218,7 @@ function media_upload_form( $errors = null ) {
<?php if ( $flash ) : ?>
<script type="text/javascript">
<!--
jQuery(function($){
SWFUpload.onload = function() {
swfu = new SWFUpload({
button_text: '<span class="button"><?php _e('Upload'); ?></span>',
button_text_style: '.button { text-align: center; font-weight: bold; font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif; }',
@@ -1256,7 +1256,7 @@ jQuery(function($){
},
debug: false
});
});
};
//-->
</script>