Uncheck rows on comments page when hiding rows so as to not affect it by Bulk edits. Fixes #12365
git-svn-id: https://develop.svn.wordpress.org/trunk@14143 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
aa9db422bf
commit
f42b2b775b
|
@ -49,6 +49,8 @@ setCommentsList = function() {
|
||||||
el = $('#comment-' + id);
|
el = $('#comment-' + id);
|
||||||
note = $('#' + action + '-undo-holder').html();
|
note = $('#' + action + '-undo-holder').html();
|
||||||
|
|
||||||
|
el.find('.check-column :checkbox').attr('checked', ''); // Uncheck the row so as not to be affected by Bulk Edits.
|
||||||
|
|
||||||
if ( el.siblings('#replyrow').length && commentReply.cid == id )
|
if ( el.siblings('#replyrow').length && commentReply.cid == id )
|
||||||
commentReply.close();
|
commentReply.close();
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -267,7 +267,7 @@ function wp_default_scripts( &$scripts ) {
|
||||||
$scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array('jquery'), '20100301' );
|
$scripts->add( 'user-profile', "/wp-admin/js/user-profile$suffix.js", array('jquery'), '20100301' );
|
||||||
$scripts->add_data( 'user-profile', 'group', 1 );
|
$scripts->add_data( 'user-profile', 'group', 1 );
|
||||||
|
|
||||||
$scripts->add( 'admin-comments', "/wp-admin/js/edit-comments$suffix.js", array('wp-lists', 'jquery-ui-resizable', 'quicktags'), '20091129' );
|
$scripts->add( 'admin-comments', "/wp-admin/js/edit-comments$suffix.js", array('wp-lists', 'jquery-ui-resizable', 'quicktags'), '20100418' );
|
||||||
$scripts->add_data( 'admin-comments', 'group', 1 );
|
$scripts->add_data( 'admin-comments', 'group', 1 );
|
||||||
$scripts->localize( 'admin-comments', 'adminCommentsL10n', array(
|
$scripts->localize( 'admin-comments', 'adminCommentsL10n', array(
|
||||||
'hotkeys_highlight_first' => isset($_GET['hotkeys_highlight_first']),
|
'hotkeys_highlight_first' => isset($_GET['hotkeys_highlight_first']),
|
||||||
|
|
Loading…
Reference in New Issue