WordPress.org

Make WordPress Core

Changeset 10325


Ignore:
Timestamp:
01/06/2009 11:28:21 PM (13 years ago)
Author:
ryan
Message:

Move undefined check up. Props DD32. fixes #8807 for trunk

File:
1 edited

Legend:

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

    r10291 r10325  
    204204    } );
    205205    $( 'thead :checkbox, tfoot :checkbox' ).click( function(e) {
    206         var c = $(this).attr('checked'), toggle = e.shiftKey || toggleWithKeyboard;
    207206        if ( 'undefined' == typeof  toggleWithKeyboard)
    208207            toggleWithKeyboard = false;
     208        var c = $(this).attr('checked'), toggle = e.shiftKey || toggleWithKeyboard;
    209209
    210210        $(this).parents( 'form:first' ).find( 'table tbody:visible').find( '.check-column :checkbox' ).attr( 'checked', function() {
Note: See TracChangeset for help on using the changeset viewer.