Ticket #15169: 15169.patch
| File 15169.patch, 1018 bytes (added by , 15 years ago) |
|---|
-
wp-admin/js/dashboard.dev.js
19 19 p.load( ajaxurl.replace( '/admin-ajax.php', '' ) + '/index-extra.php?jax=' + id, '', function() { 20 20 p.hide().slideDown('normal', function(){ 21 21 $(this).css('display', ''); 22 if ( 'dashboard_plugins' == id && $.isFunction(tb_init) ) 23 tb_init('#dashboard_plugins a.thickbox'); 24 if ( 'dashboard_quick_press' == id && $.isFunction(tb_init) ) { 25 tb_init('#dashboard_quick_press a.thickbox'); 22 if ( 'dashboard_quick_press' == id ) 26 23 quickPressLoad(); 27 }28 24 }); 29 25 }); 30 26 }, i * 500 ); … … 62 58 $('#dashboard_quick_press ul').find('li').each( function() { 63 59 $('#dashboard_recent_drafts ul').prepend( this ); 64 60 } ).end().remove(); 65 tb_init('a.thickbox');66 61 quickPressLoad(); 67 62 } ); 68 63 return false;