Ticket #6443: fileuploaderfix.patch
File fileuploaderfix.patch, 1.3 KB (added by , 17 years ago) |
---|
-
wp-admin/includes/media.php
814 814 file_queue_error_handler : fileQueueError, 815 815 file_dialog_complete_handler : fileDialogComplete, 816 816 817 debug: false ,817 debug: false 818 818 }); 819 819 $("#flash-browse-button").bind( "click", function(){swfu.selectFiles();}); 820 820 }); -
wp-includes/js/swfupload/handlers.js
96 96 jQuery('#media-item-' + this.id + ' .filename').append(' <span class="file-error">'+swfuploadL10n.deleted+'</span>').siblings('a.toggle').remove(); 97 97 jQuery('#media-item-' + this.id).children('.describe').css({backgroundColor:'#fff'}).end() 98 98 .animate({backgroundColor:'#ffc0c0'}, {queue:false,duration:50}) 99 .animate({minHeight:0,height:36 ,}, 400, null, function(){jQuery(this).children('.describe').remove()})99 .animate({minHeight:0,height:36}, 400, null, function(){jQuery(this).children('.describe').remove()}) 100 100 .animate({backgroundColor:'#fff'}, 400) 101 101 .animate({height:0}, 800, null, function(){jQuery(this).remove();updateMediaForm();}); 102 102