Move undefined check up. Props DD32. fixes #8807 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10325 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5abca0328d
commit
870e154d2e
|
@ -203,9 +203,9 @@ jQuery(document).ready( function($) {
|
|||
return true;
|
||||
} );
|
||||
$( 'thead :checkbox, tfoot :checkbox' ).click( function(e) {
|
||||
var c = $(this).attr('checked'), toggle = e.shiftKey || toggleWithKeyboard;
|
||||
if ( 'undefined' == typeof toggleWithKeyboard)
|
||||
toggleWithKeyboard = false;
|
||||
var c = $(this).attr('checked'), toggle = e.shiftKey || toggleWithKeyboard;
|
||||
|
||||
$(this).parents( 'form:first' ).find( 'table tbody:visible').find( '.check-column :checkbox' ).attr( 'checked', function() {
|
||||
if ( $(this).parents('tr').is(':hidden') )
|
||||
|
|
Loading…
Reference in New Issue