Changeset 9465
- Timestamp:
- 11/01/2008 05:20:55 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r9458 r9465 1219 1219 <script type="text/javascript"> 1220 1220 <!-- 1221 jQuery(function($){1221 SWFUpload.onload = function() { 1222 1222 swfu = new SWFUpload({ 1223 1223 button_text: '<span class="button"><?php _e('Upload'); ?></span>', … … 1257 1257 debug: false 1258 1258 }); 1259 } );1259 }; 1260 1260 //--> 1261 1261 </script> -
trunk/wp-includes/js/swfupload/handlers.js
r9438 r9465 207 207 208 208 function swfuploadPreLoad() { 209 var swfupload_element = jQuery('#'+swfu.customSettings.swfupload_element_id).get(0); 209 210 jQuery('#' + swfu.customSettings.degraded_element_id).hide(); 210 jQuery('#' + swfu.customSettings.swfupload_element_id).show(); 211 // Doing this directly because jQuery().show() seems to have timing problems 212 if ( swfupload_element && ! swfupload_element.style.display ) 213 swfupload_element.style.display = 'block'; 211 214 } 212 215 -
trunk/wp-includes/script-loader.php
r9451 r9465 110 110 ) ); 111 111 $scripts->add( 'swfupload-queue', '/wp-includes/js/swfupload/plugins/swfupload.queue.js', array('swfupload'), '2.2.0-20081031'); 112 $scripts->add( 'swfupload-handlers', '/wp-includes/js/swfupload/handlers.js', array('swfupload'), '2.2.0-20081 031');112 $scripts->add( 'swfupload-handlers', '/wp-includes/js/swfupload/handlers.js', array('swfupload'), '2.2.0-20081101'); 113 113 // these error messages came from the sample swfupload js, they might need changing. 114 114 $scripts->localize( 'swfupload-handlers', 'swfuploadL10n', array(
Note: See TracChangeset
for help on using the changeset viewer.