Fix not defined error

git-svn-id: http://svn.automattic.com/wordpress/trunk@10074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-12-05 21:45:49 +00:00
parent 74a52d0c55
commit 26c5e5ba79
1 changed files with 2 additions and 0 deletions

View File

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