Make WordPress Core

Changeset 40118 for trunk


Ignore:
Timestamp:
02/24/2017 11:09:51 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Plugins: After [38703], adjust the selector for checkbox selection to account for nested tables.

Props afercia, swissspidy, reldev.
Fixes #39739.

File:
1 edited

Legend:

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

    r39281 r40118  
    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 > .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.