Make WordPress Core

Changeset 9911


Ignore:
Timestamp:
11/26/2008 10:07:57 PM (16 years ago)
Author:
azaozz
Message:

Don't select hidden chechboxes when using the "select all", fixes #8355

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/common.js

    r9827 r9911  
    204204        var c = $(this).attr('checked');
    205205
    206         $(this).parents( 'form:first' ).find( 'table .check-column :checkbox' ).attr( 'checked', function() {
     206        $(this).parents( 'form:first' ).find( 'table tbody:visible, table thead:visible, table tfoot:visible').find( '.check-column :checkbox' ).attr( 'checked', function() {
    207207            if ( e.shiftKey )
    208208                return $(this).attr( 'checked' ) ? '' : 'checked';
  • trunk/wp-includes/script-loader.php

    r9896 r9911  
    4242    $scripts->default_version = get_bloginfo( 'version' );
    4343
    44     $scripts->add( 'common', '/wp-admin/js/common.js', array('jquery', 'hoverIntent'), '20081120b' );
     44    $scripts->add( 'common', '/wp-admin/js/common.js', array('jquery', 'hoverIntent'), '20081126' );
    4545    $scripts->add( 'sack', '/wp-includes/js/tw-sack.js', false, '1.6.1' );
    4646
Note: See TracChangeset for help on using the changeset viewer.