Make WordPress Core


Ignore:
Timestamp:
04/06/2009 10:37:51 PM (15 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/upload.php

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