WordPress.org

Make WordPress Core

Ticket #32586: 32586.diff

File 32586.diff, 634 bytes (added by Kau-Boy, 6 years ago)
  • wp-admin/js/common.js

     
    535535                });
    536536        }
    537537
     538        // make sure that both action dropdowns always have the same cation value
     539        (function(){
     540                var bulkActionSelects = $('.bulkactions select[name^="action"]');
     541
     542                bulkActionSelects.change(function (e) {
     543                        bulkActionSelects.val($(e.target).val());
     544                });
     545        })();
     546
    538547        $('.search-box input[type="search"], .search-box input[type="submit"]').mousedown(function () {
    539548                $('select[name^="action"]').val('-1');
    540549        });