Show
Ignore:
Timestamp:
07/28/10 20:52:50 (19 months ago)
Author:
deniart
Message:

fix developer

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/templates/skin/developer/js/comments.js

    r923 r969  
    132132                        var aDivComments=$$('.comment'); 
    133133                        aDivComments.each(function(item,index){ 
    134                                 var divContent=item.getChildren('div.content')[0]; 
     134                                var divContent=item.getChildren('div.comment-inner').getChildren('ul.info')[0]; 
    135135                                if (divContent) { 
    136136                                        divContent.removeClass('new'); 
     
    235235                this.docScroller.start(0,cmt.getPosition().y+deltaY); 
    236236                if (this.iCommentIdLastView) { 
    237                         $('comment_content_id_'+this.iCommentIdLastView).removeClass('view'); 
     237                        $('comment_content_id_'+this.iCommentIdLastView).getParent('div.comment-inner').getChildren('ul.info')[0].removeClass('view'); 
    238238                }                                
    239                 $('comment_content_id_'+idComment).addClass('view'); 
     239                $('comment_content_id_'+idComment).getParent('div.comment-inner').getChildren('ul.info')[0].addClass('view'); 
    240240                this.iCommentIdLastView=idComment; 
    241241        },