List Tables: After [38703], [38706], and [40118], adjust the jQuery selector to make the selection of a range of checkboxes work again.
Unprop afercia. Fixes #40056. git-svn-id: https://develop.svn.wordpress.org/trunk@40268 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f5fddde456
commit
44b84f75e4
@ -418,7 +418,7 @@ $document.ready( function() {
|
|||||||
screenMeta.init();
|
screenMeta.init();
|
||||||
|
|
||||||
// This event needs to be delegated. Ticket #37973.
|
// This event needs to be delegated. Ticket #37973.
|
||||||
$body.on( 'click', 'tbody > .check-column :checkbox', function( event ) {
|
$body.on( 'click', 'tbody > tr > .check-column :checkbox', function( event ) {
|
||||||
// Shift click to select a range of checkboxes.
|
// Shift click to select a range of checkboxes.
|
||||||
if ( 'undefined' == event.shiftKey ) { return true; }
|
if ( 'undefined' == event.shiftKey ) { return true; }
|
||||||
if ( event.shiftKey ) {
|
if ( event.shiftKey ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user