Fix comment actions after using QE when listing pending and spam comments

git-svn-id: https://develop.svn.wordpress.org/trunk@10116 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2008-12-07 12:18:04 +00:00
parent c7077d18a3
commit 1d11d269e3
3 changed files with 3 additions and 6 deletions

View File

@ -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();

View File

@ -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) {

View File

@ -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'])