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/edit-link-categories.php

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