Fix not defined error
git-svn-id: http://svn.automattic.com/wordpress/trunk@10074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
74a52d0c55
commit
26c5e5ba79
|
@ -201,6 +201,8 @@ jQuery(document).ready( function($) {
|
|||
} );
|
||||
$( 'thead :checkbox, tfoot :checkbox' ).click( function(e) {
|
||||
var c = $(this).attr('checked');
|
||||
if ( 'undefined' == typeof toggleWithKeyboard)
|
||||
toggleWithKeyboard = false;
|
||||
var toggle = e.shiftKey || toggleWithKeyboard;
|
||||
$(this).parents( 'form:first' ).find( 'table tbody:visible').find( '.check-column :checkbox' ).attr( 'checked', function() {
|
||||
if ( toggle )
|
||||
|
|
Loading…
Reference in New Issue