]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/js/postbox.dev.js
Wordpress 2.9
[autoinstalls/wordpress.git] / wp-admin / js / postbox.dev.js
index d9ca79987ef906bb224c05cd4ffdd1976a545a3e..1badadccc470a07bcd1fef77eadcd545e2b709b0 100644 (file)
@@ -116,7 +116,7 @@ var postboxes;
                save_state : function(page) {
                        var closed = $('.postbox').filter('.closed').map(function() { return this.id; }).get().join(','),
                        hidden = $('.postbox').filter(':hidden').map(function() { return this.id; }).get().join(',');
-                       $.post(postboxL10n.requestFile, {
+                       $.post(ajaxurl, {
                                action: 'closed-postboxes',
                                closed: closed,
                                hidden: hidden,
@@ -136,7 +136,7 @@ var postboxes;
                        $('.meta-box-sortables').each( function() {
                                postVars["order[" + this.id.split('-')[0] + "]"] = $(this).sortable( 'toArray' ).join(',');
                        } );
-                       $.post( postboxL10n.requestFile, postVars );
+                       $.post( ajaxurl, postVars );
                },
 
                /* Callbacks */