diff --git wp-admin/js/edit-comments.dev.js wp-admin/js/edit-comments.dev.js
index 76bcc79..85df8a1 100644
|
|
|
setCommentsList = function() { |
| 244 | 244 | $('#undo-' + id).fadeIn(300, function(){ $(this).show() }); |
| 245 | 245 | }); |
| 246 | 246 | $(listTable).bind('changePage', refillTheExtraList); |
| | 247 | $(commentReply).bind('sent', function(){ |
| | 248 | dashboardTotals(1); |
| | 249 | }); |
| 247 | 250 | }; |
| 248 | 251 | |
| 249 | 252 | commentReply = { |
| … |
… |
commentReply = { |
| 418 | 421 | type : 'POST', |
| 419 | 422 | url : ajaxurl, |
| 420 | 423 | data : post, |
| 421 | | success : function(x) { commentReply.show(x); }, |
| | 424 | success : function(x) { commentReply.show(x); $(commentReply).trigger('sent'); }, |
| 422 | 425 | error : function(r) { commentReply.error(r); } |
| 423 | 426 | }); |
| 424 | 427 | |
| … |
… |
commentReply = { |
| 441 | 444 | |
| 442 | 445 | r = r.responses[0]; |
| 443 | 446 | c = r.data; |
| | 447 | |
| 444 | 448 | id = '#comment-' + r.id; |
| 445 | 449 | if ( 'edit-comment' == this.act ) |
| 446 | 450 | $(id).remove(); |