Make WordPress Core


Ignore:
Timestamp:
04/18/2008 10:23:02 PM (19 years ago)
Author:
ryan
Message:

Shift-click to select a range of checkboxes. Props mdawaffe. fixes #6541 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r7739 r7745  
    280280function wp_manage_posts_columns() {
    281281        $posts_columns = array();
    282         $posts_columns['cb'] = '<input type="checkbox" onclick="checkAll(document.getElementById(\'posts-filter\'));" />';
     282        $posts_columns['cb'] = '<input type="checkbox" />';
    283283        if ( 'draft' === $_GET['post_status'] )
    284284                $posts_columns['modified'] = __('Modified');
    … …  
    302302function wp_manage_media_columns() {
    303303        $posts_columns = array();
    304         $posts_columns['cb'] = '<input type="checkbox" onclick="checkAll(document.getElementById(\'posts-filter\'));" />';
     304        $posts_columns['cb'] = '<input type="checkbox" />';
    305305        $posts_columns['icon'] = '';
    306306        $posts_columns['media'] = _c('Media|media column header');
    … …  
    317317function wp_manage_pages_columns() {
    318318        $posts_columns = array();
    319         $posts_columns['cb'] = '<input type="checkbox" onclick="checkAll(document.getElementById(\'posts-filter\'));" />';
     319        $posts_columns['cb'] = '<input type="checkbox" />';
    320320        if ( 'draft' === $_GET['post_status'] )
    321321                $posts_columns['modified'] = __('Modified');
Note: See TracChangeset for help on using the changeset viewer.