Ignore:
Timestamp:
03/27/12 10:38:18 (12 years ago)
Author:
douglasz
Message:

Ticket #2486 - Correção para sinalizadores como concluidos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/attach_message/attach_message.js

    r5828 r5831  
    116116                classes += '<span class="flags '+ (cell[flag]).toLowerCase() + '"' + (cell[flag] != "" ? 'title="'+ get_lang(cell[flag])+'"' : '')+'> </span>';  
    117117        } 
    118          
     118        console.log(rowObject); 
    119119        if(rowObject.labels){    
    120120                var titles = []; 
     
    136136                        var nameFollowupflag = rowObject.followupflagged.followupflag.name; 
    137137                } 
    138                 classes += '<span class="flags followupflagged" title="'+nameFollowupflag+'" style="background:'+rowObject.followupflagged.backgroundColor+';"><img src="../prototype/modules/mail/img/flagEditor.png"></span>'; 
     138                if(rowObject.followupflagged.isDone == 1){ 
     139                        classes += '<span class="flags followupflagged" title="'+nameFollowupflag+'" style="background:'+rowObject.followupflagged.backgroundColor+';"><img style=" margin-left:-3px;" src="../prototype/modules/mail/img/flagChecked.png"></span>'; 
     140                }else{                   
     141                        classes += '<span class="flags followupflagged" title="'+nameFollowupflag+'" style="background:'+rowObject.followupflagged.backgroundColor+';"><img src="../prototype/modules/mail/img/flagEditor.png"></span>'; 
     142                } 
     143                 
    139144        } 
    140145 
     
    469474                                                                        tabPanelTemplateLabel = tabPanelTemplateLabel.substring(0, $mailpreview_tabs_label_length) + '...'; 
    470475                                                        selectedMessagesCount(); 
     476                                                                 
    471477                                                                if (!$('#' + tabPanelTemplateId).length) {                                                               
    472478                                                                        $mailpreview_tabs.tabs("add", '#' + tabPanelTemplateId, tabPanelTemplateLabel) 
     
    484490                                                                        .find('#' + tabPanelTemplateId + ', [href="#' + tabPanelTemplateId + '"]').removeClass('preview-message-unselected'); 
    485491                                                                } 
    486                                                                  
    487492                                                        } 
    488493                                                }); 
Note: See TracChangeset for help on using the changeset viewer.