X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/bf5c68485ef07868ad0a91168ecd0092af7661ae..refs/tags/wordpress-3.4:/wp-admin/js/dashboard.dev.js diff --git a/wp-admin/js/dashboard.dev.js b/wp-admin/js/dashboard.dev.js index 62ff7e34..6709ba7b 100644 --- a/wp-admin/js/dashboard.dev.js +++ b/wp-admin/js/dashboard.dev.js @@ -22,7 +22,6 @@ jQuery(document).ready( function($) { $('#wp_welcome_panel-hide').prop('checked', false); }); - welcomePanelHide.click( function() { welcomePanel.toggleClass('hidden', ! this.checked ); updateWelcomePanel( this.checked ? 1 : 0 ); @@ -42,7 +41,7 @@ jQuery(document).ready( function($) { if ( e.length ) { p = e.parent(); setTimeout( function(){ - p.load( ajaxurl.replace( '/admin-ajax.php', '' ) + '/index-extra.php?jax=' + id, '', function() { + p.load( ajaxurl + '?action=dashboard-widgets&widget=' + id, '', function() { p.hide().slideDown('normal', function(){ $(this).css('display', ''); });