RSS

Wordpress 2.5 file uploader fix for ie

This entry was posted on Apr 01 2008

 

wp-admin/includes/media.php

       file_queue_error_handler : fileQueueError, 
                         file_dialog_complete_handler : fileDialogComplete, 
  
                         debug: false    <!– Old  –>
                         debug: false      <!– New –>
                 }); 
         $(”#flash-browse-button”).bind( “click”, function(){swfu.selectFiles();}); 
 });
 

————————-

wp-includes/js/swfupload/handlers.js

jQuery(’#media-item-’ + this.id + ‘ .filename’).append(’ ‘+swfuploadL10n.deleted+’‘).siblings(’a.toggle’).remove();
  jQuery(’#media-item-’ + this.id).children(’.describe’).css({backgroundColor:’#fff’}).end()
  .animate({backgroundColor:’#ffc0c0′}, {queue:false,duration:50})
  .animate({minHeight:0,height:36,}, 400, null, function(){jQuery(this).children(’.describe’).remove()})
  .animate({minHeight:0,height:36}, 400, null, function(){jQuery(this).children(’.describe’).remove()})
  .animate({backgroundColor:’#fff’}, 400)
  .animate({height:0}, 800, null, function(){jQuery(this).remove();updateMediaForm();});


4 Responses to “Wordpress 2.5 file uploader fix for ie”

  1. Thank you very mush ,I have fixed my program following your advice.


  2. ye.
    good luck.


  3. Your fix worked perfectly.. That’s kind of a fluke that the commas were causing it to bust.. You beat me to debugging.. Take it EZ!


  4. OH,Yrah!


Post a Comment