Post locks: don't check hidden checkboxes on bulk select/deselect, props dh-shredder, see #23312
git-svn-id: https://develop.svn.wordpress.org/trunk@23485 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6a59a28f12
commit
c8586336d1
@ -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' );
|
||||||
|
Loading…
Reference in New Issue
Block a user