diff --git wp-admin/js/edit-comments.dev.js wp-admin/js/edit-comments.dev.js
index fbadeba..6785238 100644
|
|
|
setCommentsList = function() { |
| 268 | 268 | $('#undo-' + id).fadeIn(300, function(){ $(this).show() }); |
| 269 | 269 | }); |
| 270 | 270 | // $(listTable).bind('changePage', refillTheExtraList); |
| | 271 | |
| | 272 | $(commentReply).bind('sent', function(){ |
| | 273 | dashboardTotals(1); |
| | 274 | }); |
| 271 | 275 | }; |
| 272 | 276 | |
| 273 | 277 | commentReply = { |
| … |
… |
commentReply = { |
| 445 | 449 | type : 'POST', |
| 446 | 450 | url : ajaxurl, |
| 447 | 451 | data : post, |
| 448 | | success : function(x) { commentReply.show(x); }, |
| | 452 | success : function(x) { commentReply.show(x); $(commentReply).trigger('sent'); }, |
| 449 | 453 | error : function(r) { commentReply.error(r); } |
| 450 | 454 | }); |
| 451 | 455 | |
| … |
… |
commentReply = { |
| 468 | 472 | |
| 469 | 473 | r = r.responses[0]; |
| 470 | 474 | c = r.data; |
| | 475 | |
| 471 | 476 | id = '#comment-' + r.id; |
| 472 | 477 | if ( 'edit-comment' == this.act ) |
| 473 | 478 | $(id).remove(); |