wp/wp-admin/js/dashboard.js
changeset 21 48c4eec2b7e6
parent 18 be944660c56a
child 22 8c2e4d02f4ef
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
    90 			if ( e.length ) {
    90 			if ( e.length ) {
    91 				p = e.parent();
    91 				p = e.parent();
    92 				setTimeout( function(){
    92 				setTimeout( function(){
    93 					// Request the widget content.
    93 					// Request the widget content.
    94 					p.load( ajaxurl + '?action=dashboard-widgets&widget=' + id + '&pagenow=' + pagenow, '', function() {
    94 					p.load( ajaxurl + '?action=dashboard-widgets&widget=' + id + '&pagenow=' + pagenow, '', function() {
    95 						// Hide the parent and slide it out for visual fancyness.
    95 						// Hide the parent and slide it out for visual fanciness.
    96 						p.hide().slideDown('normal', function(){
    96 						p.hide().slideDown('normal', function(){
    97 							$(this).css('display', '');
    97 							$(this).css('display', '');
    98 						});
    98 						});
    99 					});
    99 					});
   100 				}, i * 500 );
   100 				}, i * 500 );