mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Show comments on the Edit Post screen in separate postbox
git-svn-id: https://develop.svn.wordpress.org/trunk@10480 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -133,7 +133,7 @@ var commentsBox, tagCloud;
|
||||
|
||||
this.st += num;
|
||||
this.total = total;
|
||||
$('.waiting').show();
|
||||
$('#commentsdiv img.waiting').show();
|
||||
|
||||
data = {
|
||||
'action' : 'get-comments',
|
||||
@@ -147,8 +147,8 @@ var commentsBox, tagCloud;
|
||||
$.post(ajaxurl, data,
|
||||
function(r) {
|
||||
r = wpAjax.parseAjaxResponse(r);
|
||||
$('#commentstatusdiv .widefat').show();
|
||||
$('.waiting').hide();
|
||||
$('#commentsdiv .widefat').show();
|
||||
$('#commentsdiv img.waiting').hide();
|
||||
|
||||
if ( 'object' == typeof r && r.responses[0] ) {
|
||||
$('#the-comment-list').append( r.responses[0].data );
|
||||
|
||||
Reference in New Issue
Block a user