Make WordPress Core

Ticket #22975: 22975.taxonomy-checklist.patch

File 22975.taxonomy-checklist.patch, 723 bytes (added by SergeyBiryukov, 10 years ago)
  • wp-admin/js/post.js

     
    349349                        return false;
    350350                });
    351351
    352                 $('#' + taxonomy + 'checklist, #' + taxonomy + 'checklist-pop').on( 'click', 'li.popular-category input[type="checkbox"], input[type="checkbox"]', function() {
     352                $('#' + taxonomy + 'checklist, #' + taxonomy + 'checklist-pop').on( 'click', 'input[type="checkbox"]', function() {
    353353                        var t = $(this), c = t.is(':checked'), id = t.val();
    354354                        if ( id && t.parents('#taxonomy-'+taxonomy).length )
    355355                                $('#in-' + taxonomy + '-' + id + ', #in-popular-' + taxonomy + '-' + id).prop( 'checked', c );