Changeset 7466 for trunk/wp-includes/js/swfupload/handlers.js
- Timestamp:
- 03/21/2008 11:21:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/swfupload/handlers.js
r7406 r7466 92 92 } 93 93 94 // Vanish it. 94 95 jQuery('#media-item-' + this.id + ' .filename:empty').remove(); 95 96 jQuery('#media-item-' + this.id + ' .filename').append(' <span class="file-error">'+swfuploadL10n.deleted+'</span>').siblings('a.toggle').remove(); 96 jQuery('#media-item-' + this.id + ' .describe').slideUp(500, function(){jQuery(this).parents('.media-item').slideUp(1500,function(){jQuery(this).remove();updateMediaForm();})}).end.remove(); 97 jQuery('#media-item-' + this.id).children('.describe').css({backgroundColor:'#fff'}).end() 98 .animate({backgroundColor:'#ffc0c0'}, {queue:false,duration:50}) 99 .animate({minHeight:0,height:36,}, 400, null, function(){jQuery(this).children('.describe').remove()}) 100 .animate({backgroundColor:'#fff'}, 400) 101 .animate({height:0}, 800, null, function(){jQuery(this).remove();updateMediaForm();}); 97 102 98 103 return; 99 // Vanish it.100 item.slideToggle(300,function(){jQuery(this).remove();if(jQuery('.media-item').length==0)jQuery('.insert-gallery').hide();updateMediaForm();});101 104 } 102 105
Note: See TracChangeset
for help on using the changeset viewer.