Ticket #22975: 22975.taxonomy-checklist.patch
File 22975.taxonomy-checklist.patch, 723 bytes (added by , 10 years ago) |
---|
-
wp-admin/js/post.js
349 349 return false; 350 350 }); 351 351 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() { 353 353 var t = $(this), c = t.is(':checked'), id = t.val(); 354 354 if ( id && t.parents('#taxonomy-'+taxonomy).length ) 355 355 $('#in-' + taxonomy + '-' + id + ', #in-popular-' + taxonomy + '-' + id).prop( 'checked', c );