WordPress.org

Make WordPress Core

Changeset 8821


Ignore:
Timestamp:
09/05/08 19:11:41 (6 years ago)
Author:
azaozz
Message:

Don't hide reply action on comments added with AJAX, props caesarsgrunt, see #7435

Location:
trunk
Files:
2 edited

Legend:

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

    r8804 r8821  
    8484    setCommentsList(); 
    8585}); 
    86  
    87 })(jQuery); 
    88  
    89 (function($){ 
    9086 
    9187commentReply = { 
     
    196192        } 
    197193 
     194        $('#comment-'+r.id+' .hide-if-no-js').removeClass('hide-if-no-js'); 
     195 
    198196        $('#comment-'+r.id) 
    199             .animate( { backgroundColor:"#CFEBF7" }, 600 ) 
     197            .animate( { backgroundColor:"#CCEEBB" }, 600 ) 
    200198            .animate( { backgroundColor:"transparent" }, 600 ); 
    201199         
     
    236234    if ( typeof QTags != 'undefined' ) 
    237235        ed_reply = new QTags('ed_reply', 'replycontent', 'replycontainer', 'more'); 
     236 
    238237    if ( typeof $.table_hotkeys != 'undefined' ) { 
    239238        var make_hotkeys_redirect = function(which) { 
  • trunk/wp-includes/script-loader.php

    r8815 r8821  
    159159            'strong' => __('Strong') 
    160160        ) ); 
    161         $scripts->add( 'admin-comments', '/wp-admin/js/edit-comments.js', array('wp-lists', 'jquery-ui-draggable', 'jquery-ui-resizable', 'quicktags'), '20080828' ); 
     161        $scripts->add( 'admin-comments', '/wp-admin/js/edit-comments.js', array('wp-lists', 'jquery-ui-draggable', 'jquery-ui-resizable', 'quicktags'), '20080905' ); 
    162162        $scripts->localize( 'admin-comments', 'adminCommentsL10n', array( 
    163163            'pending' => __('%i% pending'), // must look like: "# blah blah" 
Note: See TracChangeset for help on using the changeset viewer.