Changeset 7863 for branches/2.5/wp-includes/js/swfupload/handlers.js
- Timestamp:
- 04/30/2008 08:28:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/wp-includes/js/swfupload/handlers.js
r7683 r7863 56 56 57 57 // Also bind toggle to the links 58 jQuery('#media-item-' + fileObj.id + ' a.toggle').bind('click', function(){jQuery(this).siblings('.slidetoggle').slideToggle(150 );jQuery(this).parent().eq(0).children('.toggle').toggle();jQuery(this).siblings('a.toggle').focus();return false;});58 jQuery('#media-item-' + fileObj.id + ' a.toggle').bind('click', function(){jQuery(this).siblings('.slidetoggle').slideToggle(150, function(){window.scrollTo(0,this.parentNode.offsetTop);});jQuery(this).parent().eq(0).children('.toggle').toggle();jQuery(this).siblings('a.toggle').focus();return false;}); 59 59 60 60 // Bind AJAX to the new Delete button
Note: See TracChangeset
for help on using the changeset viewer.