Make WordPress Core

Ticket #15911: garyc40-15911.patch

File garyc40-15911.patch, 1.1 KB (added by garyc40, 14 years ago)

there's a patch for that

  • wp-admin/js/edit-comments.dev.js

    diff --git wp-admin/js/edit-comments.dev.js wp-admin/js/edit-comments.dev.js
    index 796ead0..cbbd712 100644
     
    1 var theList, theExtraList, toggleWithKeyboard = false;
     1var theList, theExtraList, toggleWithKeyboard = false, ed_reply;
    22(function($) {
    33
    44setCommentsList = function() {
    commentReply = { 
    305305        close : function() {
    306306                var c;
    307307
     308                ed_reply.edCloseAllTags();
    308309                if ( this.cid ) {
    309310                        c = $('#comment-' + this.cid);
    310 
     311                       
    311312                        if ( this.act == 'edit-comment' )
    312313                                c.fadeIn(300, function(){ c.show() }).css('backgroundColor', '');
    313314
    commentReply = { 
    351352                        $('#replyhead, #replybtn', editRow).hide();
    352353
    353354                        h = c.height();
    354                         if ( h > 220 )
    355                                 if ( $.browser.msie )
    356                                         $('#replycontainer, #replycontent', editRow).height(h-105);
    357                                 else
    358                                         $('#replycontainer', editRow).height(h-105);
     355                        if ( h > 220 ) {
     356                                $('#replycontainer, #replycontent', editRow).height(h-104);
     357                        }
    359358
    360359                        c.after( editRow ).fadeOut('fast', function(){
    361360                                $('#replyrow').fadeIn(300, function(){ $(this).show() });