]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/js/dashboard.dev.js
WordPress 3.4
[autoinstalls/wordpress.git] / wp-admin / js / dashboard.dev.js
index 62ff7e34720f767f1b3c8af755c758ec684fa1da..6709ba7bde6316beb2743ebbf496286ea1776a16 100644 (file)
@@ -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', '');
                                                });