mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user