Make WordPress Core

Changeset 40119


Ignore:
Timestamp:
02/24/2017 11:12: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.
Merges [40118] to the 4.7 branch.
Fixes #39739.

Location:
branches/4.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7

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

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