Fix comment reply colspan. Props garyc40. fixes #15876

git-svn-id: http://svn.automattic.com/wordpress/trunk@17124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2010-12-23 17:21:29 +00:00
parent 8a6ec685fb
commit 476e468faf
4 changed files with 8 additions and 5 deletions
+6 -2
View File
@@ -330,8 +330,12 @@ function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single',
echo $content;
return;
}
$wp_list_table = get_list_table('WP_Comments_List_Table');
if ( $mode == 'single' ) {
$wp_list_table = get_list_table('WP_Post_Comments_List_Table');
} else {
$wp_list_table = get_list_table('WP_Comments_List_Table');
}
?>
<form method="get" action="">
-1
View File
@@ -338,7 +338,6 @@ commentReply = {
t.close();
t.cid = id;
$('td', '#replyrow').attr('colspan', $('table.widefat thead th:visible').length);
editRow = $('#replyrow');
rowData = $('#inline-'+id);
act = t.act = (a == 'edit') ? 'edit-comment' : 'replyto-comment';
File diff suppressed because one or more lines are too long