Revert [9413]
git-svn-id: http://svn.automattic.com/wordpress/trunk@9414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -88,7 +88,9 @@ $(document).ready(function(){
|
||||
commentReply = {
|
||||
|
||||
init : function() {
|
||||
this.rows = $('#the-comment-list li');
|
||||
this.rows = $('#the-comment-list tr');
|
||||
if ( !this.rows.size() )
|
||||
this.rows = $('#the-comment-list > div.comment-item');
|
||||
var row = $('#replyrow');
|
||||
|
||||
$('a.cancel', row).click(function() { return commentReply.revert(); });
|
||||
@@ -147,7 +149,7 @@ commentReply = {
|
||||
t.close();
|
||||
t.o = '#comment-'+id;
|
||||
|
||||
// $('#replyrow td').attr('colspan', $('.widefat thead th:visible').length);
|
||||
$('#replyrow td').attr('colspan', $('.widefat thead th:visible').length);
|
||||
var editRow = $('#replyrow'), rowData = $('#inline-'+id);
|
||||
var act = t.act = (a == 'edit') ? 'edit-comment' : 'replyto-comment';
|
||||
|
||||
|
||||
@@ -287,7 +287,7 @@ jQuery(document).ready( function($) {
|
||||
$.post('admin-ajax.php', data,
|
||||
function(r) {
|
||||
var r = wpAjax.parseAjaxResponse(r);
|
||||
$('#commentstatusdiv .comments-box').show();
|
||||
$('#commentstatusdiv .widefat').show();
|
||||
$('.waiting').hide();
|
||||
|
||||
if ( 'object' == typeof r && r.responses[0] ) {
|
||||
@@ -308,7 +308,7 @@ jQuery(document).ready( function($) {
|
||||
return;
|
||||
}
|
||||
|
||||
$('#the-comment-list').append('<li>'+wpAjax.broken+'</li>');
|
||||
$('#the-comment-list').append('<tr><td colspan="5">'+wpAjax.broken+'</td></tr>');
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user