Make WordPress Core


Ignore:
Timestamp:
04/06/2009 10:37:51 PM (16 years ago)
Author:
azaozz
Message:

Fix confirmation for second bulk delete, fixes #9473 for 2.7.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-admin/edit-comments.php

    r10439 r10882  
    379379    $(document).ready(function(){
    380380        $('#doaction, #doaction2').click(function(){
    381             if ( $('select[name^="action"]').val() == 'delete' ) {
     381            if ( $('select[name="action"]').val() == 'delete' || $('select[name="action2"]').val() == 'delete' ) {
    382382                var m = '<?php echo js_escape(__("You are about to delete the selected comments.\n  'Cancel' to stop, 'OK' to delete.")); ?>';
    383383                return showNotice.warn(m);
Note: See TracChangeset for help on using the changeset viewer.