List Tables: After [38703], [38706], and [40118], adjust the jQuery selector to make the selection of a range of checkboxes work again.

Unprop afercia.
Fixes #40056.

Built from https://develop.svn.wordpress.org/trunk@40268


git-svn-id: http://core.svn.wordpress.org/trunk@40187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2017-03-10 19:14:46 +00:00
parent d675e30e51
commit 6944c8f3a6
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 > tr > .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.8-alpha-40267'; $wp_version = '4.8-alpha-40268';
/** /**
* 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.