Fix not defined error
git-svn-id: https://develop.svn.wordpress.org/trunk@10074 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4a6fcd9bc6
commit
9fafac9e5f
|
@ -201,6 +201,8 @@ jQuery(document).ready( function($) {
|
||||||
} );
|
} );
|
||||||
$( 'thead :checkbox, tfoot :checkbox' ).click( function(e) {
|
$( 'thead :checkbox, tfoot :checkbox' ).click( function(e) {
|
||||||
var c = $(this).attr('checked');
|
var c = $(this).attr('checked');
|
||||||
|
if ( 'undefined' == typeof toggleWithKeyboard)
|
||||||
|
toggleWithKeyboard = false;
|
||||||
var toggle = e.shiftKey || toggleWithKeyboard;
|
var toggle = e.shiftKey || toggleWithKeyboard;
|
||||||
$(this).parents( 'form:first' ).find( 'table tbody:visible').find( '.check-column :checkbox' ).attr( 'checked', function() {
|
$(this).parents( 'form:first' ).find( 'table tbody:visible').find( '.check-column :checkbox' ).attr( 'checked', function() {
|
||||||
if ( toggle )
|
if ( toggle )
|
||||||
|
|
Loading…
Reference in New Issue