Post locks: don't check hidden checkboxes on bulk select/deselect, props dh-shredder, see #23312

git-svn-id: http://core.svn.wordpress.org/trunk@23485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2013-02-25 21:24:19 +00:00
parent 5777e5a949
commit 580b083e47
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ $(document).ready( function() {
$(this).closest( 'table' ).children( 'tbody' ).filter(':visible') $(this).closest( 'table' ).children( 'tbody' ).filter(':visible')
.children().children('.check-column').find(':checkbox') .children().children('.check-column').find(':checkbox')
.prop('checked', function() { .prop('checked', function() {
if ( $(this).closest('tr').is(':hidden') ) if ( $(this).is(':hidden') )
return false; return false;
if ( toggle ) if ( toggle )
return $(this).prop( 'checked' ); return $(this).prop( 'checked' );