WordPress.org

Make WordPress Core

Changeset 8492


Ignore:
Timestamp:
07/29/08 22:16:39 (6 years ago)
Author:
ryan
Message:

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

Location:
trunk
Files:
2 edited

Legend:

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

    r7745 r8492  
    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    } ); 
  • trunk/wp-includes/script-loader.php

    r8490 r8492  
    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.