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.
Built from https://develop.svn.wordpress.org/branches/4.7@40119


git-svn-id: http://core.svn.wordpress.org/branches/4.7@40056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2017-02-24 23:13:34 +00:00
parent d66cefb840
commit ecf9c19e04
3 changed files with 3 additions and 3 deletions

View File

@ -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 ) {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7.3-alpha-40117'; $wp_version = '4.7.3-alpha-40119';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.