mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +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:
@@ -206,8 +206,11 @@ function fileDialogComplete(num_files_queued) {
|
||||
}
|
||||
|
||||
function swfuploadPreLoad() {
|
||||
var swfupload_element = jQuery('#'+swfu.customSettings.swfupload_element_id).get(0);
|
||||
jQuery('#' + swfu.customSettings.degraded_element_id).hide();
|
||||
jQuery('#' + swfu.customSettings.swfupload_element_id).show();
|
||||
// Doing this directly because jQuery().show() seems to have timing problems
|
||||
if ( swfupload_element && ! swfupload_element.style.display )
|
||||
swfupload_element.style.display = 'block';
|
||||
}
|
||||
|
||||
function swfuploadLoadFailed() {
|
||||
|
||||
Reference in New Issue
Block a user