Fix comment actions after using QE when listing pending and spam comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@10116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fed0c5df20
commit
ac89cab565
|
@ -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();
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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'])
|
||||
|
|
Loading…
Reference in New Issue