Changeset 5122

Show
Ignore:
Timestamp:
03/27/07 23:49:15 (2 years ago)
Author:
ryan
Message:

Fix list JS when marking comment as spam. Props mdawaffe. fixes #4038

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/edit-comments.js

    r5118 r5122  
    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;