diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php index e38daa1cd0..d0ef78c670 100644 --- a/wp-admin/admin-ajax.php +++ b/wp-admin/admin-ajax.php @@ -600,7 +600,7 @@ case 'edit-comment' : $x = new WP_Ajax_Response(); ob_start(); - _wp_comment_row( $comment_id, $mode, false, $checkbox ); + _wp_comment_row( $comment_id, $mode, true, $checkbox ); $comment_list_item = ob_get_contents(); ob_end_clean(); diff --git a/wp-admin/js/edit-comments.js b/wp-admin/js/edit-comments.js index 457a1fa835..4b7fa11330 100644 --- a/wp-admin/js/edit-comments.js +++ b/wp-admin/js/edit-comments.js @@ -259,10 +259,7 @@ commentReply = { .animate( { 'backgroundColor':'#CCEEBB' }, 600 ) .animate( { 'backgroundColor': bg }, 600 ); - theList = theExtraList = null; - $("#get-extra-comments, a[className*=':']").unbind(); - setCommentsList(); - + $.fn.wpList.process($(id)) }, error : function(r) { diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index d8ce4baced..014230c1dc 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -156,7 +156,7 @@ function wp_default_scripts( &$scripts ) { 'good' => _c('Medium|password strength'), 'strong' => __('Strong') ) ); - $scripts->add( 'admin-comments', '/wp-admin/js/edit-comments.js', array('wp-lists', 'jquery-ui-resizable', 'quicktags'), '20081205' ); + $scripts->add( 'admin-comments', '/wp-admin/js/edit-comments.js', array('wp-lists', 'jquery-ui-resizable', 'quicktags'), '20081206' ); $scripts->localize( 'admin-comments', 'adminCommentsL10n', array( 'hotkeys_highlight_first' => isset($_GET['hotkeys_highlight_first']), 'hotkeys_highlight_last' => isset($_GET['hotkeys_highlight_last'])