WordPress.org

Make WordPress Core

Ticket #15051: check_all_checkboxes.diff

File check_all_checkboxes.diff, 451 bytes (added by Cimmo, 4 years ago)

Patch to solve this issue, to be QAed for regressions

  • common.dev.js

     
    256256                return true; 
    257257        }); 
    258258 
    259         $('thead, tfoot').find(':checkbox').click( function(e) { 
     259        $('thead, tfoot').find('.check-column').find(':checkbox').click( function(e) { 
    260260                var c = $(this).attr('checked'), 
    261261                        kbtoggle = 'undefined' == typeof toggleWithKeyboard ? false : toggleWithKeyboard, 
    262262                        toggle = e.shiftKey || kbtoggle;