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.php

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