WordPress.org

Make WordPress Core

Ticket #16185: garyc40.16185.diff

File garyc40.16185.diff, 464 bytes (added by garyc40, 3 years ago)

there's a patch for that

  • wp-admin/js/list-table.dev.js

    diff --git wp-admin/js/list-table.dev.js wp-admin/js/list-table.dev.js
    index 32e9806..cbdc511 100644
    listTable.init(); 
    333333 
    334334                return false; 
    335335        }); 
     336         
     337        $('select[name=action], select[name=action2]', '.tablenav').change(function(){ 
     338                var t = $(this), 
     339                        w = t.attr('name') == 'action' ? 'action2' : 'action'; 
     340                $('.tablenav select[name=' + w + ']').val(t.val()); 
     341        }); 
    336342}); 
    337343