autosave_update_post_ID() no longer needed. Fix button enable lag. Props duck_. fixes #13400
git-svn-id: http://svn.automattic.com/wordpress/trunk@14663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -331,9 +331,6 @@ jQuery(document).ready( function($) {
|
||||
if ( $('#postcustom').length ) {
|
||||
$('#the-list').wpList( { addAfter: function( xml, s ) {
|
||||
$('table#list-table').show();
|
||||
if ( typeof( autosave_update_post_ID ) != 'undefined' ) {
|
||||
autosave_update_post_ID(s.parsed.responses[0].supplemental.postid);
|
||||
}
|
||||
}, addBefore: function( s ) {
|
||||
s.data += '&post_id=' + $('#post_ID').val();
|
||||
return s;
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user