Make WordPress Core

Ticket #15169: 15169.patch

File 15169.patch, 1018 bytes (added by ocean90, 15 years ago)
  • wp-admin/js/dashboard.dev.js

     
    1919                                        p.load( ajaxurl.replace( '/admin-ajax.php', '' ) + '/index-extra.php?jax=' + id, '', function() {
    2020                                                p.hide().slideDown('normal', function(){
    2121                                                        $(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 )
    2623                                                                quickPressLoad();
    27                                                         }
    2824                                                });
    2925                                        });
    3026                                }, i * 500 );
     
    6258                                $('#dashboard_quick_press ul').find('li').each( function() {
    6359                                        $('#dashboard_recent_drafts ul').prepend( this );
    6460                                } ).end().remove();
    65                                 tb_init('a.thickbox');
    6661                                quickPressLoad();
    6762                        } );
    6863                        return false;