Revert [9413]

git-svn-id: http://svn.automattic.com/wordpress/trunk@9414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2008-10-30 15:50:21 +00:00
parent 016942b825
commit 166ccef6c3
10 changed files with 199 additions and 117 deletions

View File

@@ -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';

View File

@@ -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>');
}
);