Make WordPress Core

Changeset 5122


Ignore:
Timestamp:
03/27/2007 11:49:15 PM (17 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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;
Note: See TracChangeset for help on using the changeset viewer.