Changeset 5760 for trunk


Ignore:
Timestamp:
03/20/12 10:50:42 (12 years ago)
Author:
douglasz
Message:

Ticket #2486 - Correção nos titulos dos icones no anexar mensagem.

File:
1 edited

Legend:

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

    r5749 r5760  
    114114                }; 
    115115        for(var flag in cell){ 
    116                 classes += '<span class="flags '+ (cell[flag]) +'" title="'+ (cell[flag]) +'"> </span>';         
    117         } 
    118          
     116                classes += '<span class="flags '+ (cell[flag]).toLowerCase() +((cell[flag]) == '' ? '"' : '" title="'+ get_lang((cell[flag])))+'"> </span>';     
     117        } 
     118 
    119119        if(rowObject.labels){            
    120120                classes += '<span class="flags labeled"> </span>'; 
     
    122122                classes += '<span class="flags"> </span>'; 
    123123        } 
    124          
    125124        if(rowObject.followupflagged){           
    126                 classes += '<span class="flags followupflagged" style="background:'+rowObject.followupflagged.backgroundColor+';"><img src="../prototype/modules/mail/img/flagEditor.png"></span>'; 
     125                if(rowObject.followupflagged.followupflag.id < 7){ 
     126                        var nameFollowupflag = get_lang(rowObject.followupflagged.followupflag.name); 
     127                }else{ 
     128                        var nameFollowupflag = rowObject.followupflagged.followupflag.name; 
     129                } 
     130                classes += '<span class="flags followupflagged" title="'+nameFollowupflag+'" style="background:'+rowObject.followupflagged.backgroundColor+';"><img src="../prototype/modules/mail/img/flagEditor.png"></span>'; 
    127131        } 
    128132        return classes; 
     
    333337                        colModel:[ 
    334338                                {name:'msg_number',index:'msg_number', width:45, hidden:true, sortable:false}, 
    335                                 {name:'flags',index:'msg_number',edittype: 'image', width:100, sortable:false, formatter:flags2Class}, 
     339                                {name:'flags',index:'msg_number',edittype: 'image', width:100, sortable:false, formatter:flags2Class, title :false}, 
    336340                                {name:'from.name',index:'msg_number', width:70, sortable:false, formatter:NormaliseFrom}, 
    337341                                {name:'subject',index:'subject', width:245, sortable:false}, 
Note: See TracChangeset for help on using the changeset viewer.