Make WordPress Core

Ticket #25746: 25746.patch

File 25746.patch, 936 bytes (added by SergeyBiryukov, 11 years ago)
  • src/wp-admin/js/edit-comments.js

     
    390390                $('#comment_post_ID', editRow).val(post_id);
    391391                $('#comment_ID', editRow).val(comment_id);
    392392
    393                 if ( h > 120 )
    394                         $('#replycontent', editRow).css('height', (35+h) + 'px');
    395 
    396393                if ( action == 'edit' ) {
    397394                        $('#author', editRow).val( $('div.author', rowData).text() );
    398395                        $('#author-email', editRow).val( $('div.author-email', rowData).text() );
     
    402399                        $('#edithead, #savebtn', editRow).show();
    403400                        $('#replyhead, #replybtn, #addhead, #addbtn', editRow).hide();
    404401
     402                        if ( h > 120 )
     403                                $('#replycontent', editRow).css('height', ( 35 + h ) + 'px');
     404
    405405                        c.after( editRow ).fadeOut('fast', function(){
    406406                                $('#replyrow').fadeIn(300, function(){ $(this).show() });
    407407                        });