Ticket #21106: 21106.5.patch
File 21106.5.patch, 1.2 KB (added by , 12 years ago) |
---|
-
wp-admin/js/post.js
342 342 return false; 343 343 }); 344 344 345 $('#' + taxonomy + 'checklist li.popular-category :checkbox, #' + taxonomy + 'checklist-pop :checkbox').live( 'click', function(){345 $('#' + taxonomy + 'checklist li.popular-category input[type="checkbox"], #' + taxonomy + 'checklist-pop input[type="checkbox"]').live( 'click', function(){ 346 346 var t = $(this), c = t.is(':checked'), id = t.val(); 347 347 if ( id && t.parents('#taxonomy-'+taxonomy).length ) 348 348 $('#in-' + taxonomy + '-' + id + ', #in-popular-' + taxonomy + '-' + id).prop( 'checked', c ); -
wp-includes/js/wp-lists.js
397 397 return list.wpList.add(this); 398 398 }); 399 399 400 $el.delegate( ' [class^="add:' + list.id + ':"]:not(form)', 'click', function(){400 $el.delegate( 'a[class^="add:' + list.id + ':"], input[class^="add:' + list.id + ':"]', 'click', function(){ 401 401 return list.wpList.add(this); 402 402 }); 403 403