Make WordPress Core

Ticket #4038: 4038b.diff

File 4038b.diff, 516 bytes (added by mdawaffe, 17 years ago)

Make it work when marking as spam

  • wp-admin/edit-comments.js

     
    2727
    2828        theCommentList.delComplete = function(what,id) {
    2929                var m = document.getElementById('awaitmod');
     30                what = what.split('-')[0];
    3031                if ( document.getElementById(what + '-' + id).className.match('unapproved') )
    3132                        m.innerHTML = parseInt(m.innerHTML,10) - 1;
    3233                if ( theExtraCommentList && commentNum ) {