Use adminTable to refill #the-extra-comment-list. See #14637

git-svn-id: https://develop.svn.wordpress.org/trunk@15509 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu
2010-08-19 00:06:51 +00:00
parent 1b4603a611
commit 2c7897bd78
8 changed files with 54 additions and 37 deletions

View File

@@ -209,7 +209,14 @@ setCommentsList = function() {
}
theList.get(0).wpList.add( theExtraList.children(':eq(0)').remove().clone() );
$('#get-extra-comments').submit();
// Refill the extra list
var args = $.query.get();
args.number = 1;
args.paged++;
adminTable.fetch_list(args, function(response) {
theExtraList.get(0).wpList.add( response.rows );
});
};
theExtraList = $('#the-extra-comment-list').wpList( { alt: '', delColor: 'none', addColor: 'none' } );