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. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@40119 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
44c58d1a12
commit
7182e5b7b4
@ -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 > .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