Don't apply checkboxes to invisible comments.Props mdawaffe. fixes #7433 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
30d7084f60
commit
fec30ab9ac
|
@ -1,5 +1,5 @@
|
|||
function checkAll(jQ) { // use attr( checked, fn )
|
||||
jQuery(jQ).find( 'tbody :checkbox' ).attr( 'checked', function() {
|
||||
jQuery(jQ).find( 'tbody:visible :checkbox' ).attr( 'checked', function() {
|
||||
return jQuery(this).attr( 'checked' ) ? '' : 'checked';
|
||||
} );
|
||||
}
|
||||
|
|
|
@ -125,7 +125,7 @@ function wp_default_scripts( &$scripts ) {
|
|||
'pending' => __('%i% pending') // must look like: "# blah blah"
|
||||
) );
|
||||
$scripts->add( 'admin-users', '/wp-admin/js/users.js', array('wp-lists'), '20070823' );
|
||||
$scripts->add( 'admin-forms', '/wp-admin/js/forms.js', array('jquery'), '20080401');
|
||||
$scripts->add( 'admin-forms', '/wp-admin/js/forms.js', array('jquery'), '20080729');
|
||||
$scripts->add( 'xfn', '/wp-admin/js/xfn.js', false, '3517' );
|
||||
$scripts->add( 'upload', '/wp-admin/js/upload.js', array('jquery'), '20070518' );
|
||||
$scripts->add( 'postbox', '/wp-admin/js/postbox.js', array('jquery'), '20080128' );
|
||||
|
|
Loading…
Reference in New Issue