Make WordPress Core

Changeset 40268


Ignore:
Timestamp:
03/10/2017 07:14:00 PM (8 years ago)
Author:
afercia
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/common.js

    r40118 r40268  
    419419
    420420    // This event needs to be delegated. Ticket #37973.
    421     $body.on( 'click', 'tbody > .check-column :checkbox', function( event ) {
     421    $body.on( 'click', 'tbody > tr > .check-column :checkbox', function( event ) {
    422422        // Shift click to select a range of checkboxes.
    423423        if ( 'undefined' == event.shiftKey ) { return true; }
Note: See TracChangeset for help on using the changeset viewer.