WordPress.org

Make WordPress Core

Changeset 8493


Ignore:
Timestamp:
07/29/2008 10:16:49 PM (10 years ago)
Author:
ryan
Message:

Don't apply checkboxes to invisible comments.Props mdawaffe. fixes #7433 for 2.6

Location:
branches/2.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/wp-admin/js/forms.js

    r7745 r8493  
    11function checkAll(jQ) { // use attr( checked, fn )
    2     jQuery(jQ).find( 'tbody :checkbox' ).attr( 'checked', function() {
     2    jQuery(jQ).find( 'tbody:visible :checkbox' ).attr( 'checked', function() {
    33        return jQuery(this).attr( 'checked' ) ? '' : 'checked';
    44    } );
  • branches/2.6/wp-includes/script-loader.php

    r8491 r8493  
    126126        ) );
    127127        $scripts->add( 'admin-users', '/wp-admin/js/users.js', array('wp-lists'), '20070823' );
    128         $scripts->add( 'admin-forms', '/wp-admin/js/forms.js', array('jquery'), '20080401');
     128        $scripts->add( 'admin-forms', '/wp-admin/js/forms.js', array('jquery'), '20080729');
    129129        $scripts->add( 'xfn', '/wp-admin/js/xfn.js', false, '3517' );
    130130        $scripts->add( 'upload', '/wp-admin/js/upload.js', array('jquery'), '20070518' );
Note: See TracChangeset for help on using the changeset viewer.