mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 18:13:00 +01:00
Hide Cancel link in the browser uploader on Media Library screen.
git-svn-id: https://develop.svn.wordpress.org/trunk@12297 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
68985dce07
commit
a772d3fe2c
@ -1431,7 +1431,7 @@ SWFUpload.onload = function() {
|
||||
<?php do_action('pre-html-upload-ui'); ?>
|
||||
<p id="async-upload-wrap">
|
||||
<label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label>
|
||||
<input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a>
|
||||
<input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onclick="try{top.tb_remove();}catch(e){}; return false;"><?php _e('Cancel'); ?></a>
|
||||
</p>
|
||||
<div class="clear"></div>
|
||||
<?php if ( is_lighttpd_before_150() ): ?>
|
||||
|
File diff suppressed because one or more lines are too long
@ -2852,6 +2852,10 @@ table .inline-edit-row fieldset ul.cat-hover {
|
||||
max-width: 128px;
|
||||
}
|
||||
|
||||
#wpbody-content #async-upload-wrap a {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.media-upload-form td label {
|
||||
margin-right: 6px;
|
||||
margin-left: 2px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user