mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Move undefined check up. Props DD32. fixes #8807 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
67bf900a02
commit
b1637cdfc2
@ -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
Block a user