Make WordPress Core

Changeset 40512 for branches/4.7


Ignore:
Timestamp:
04/21/2017 07:35:13 AM (8 years ago)
Author:
dd32
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.
Merges [40268] to the 4.7 branch.
Fixes #40056.

Location:
branches/4.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

  • branches/4.7/src/wp-admin/js/common.js

    r40119 r40512  
    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.