Uncheck rows on comments page when hiding rows so as to not affect it by Bulk edits. Fixes #12365
git-svn-id: http://svn.automattic.com/wordpress/trunk@14143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8fe91a75b5
commit
5cd73bf182
|
@ -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