Changeset 5760 for trunk/prototype
- Timestamp:
- 03/20/12 10:50:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/attach_message/attach_message.js
r5749 r5760 114 114 }; 115 115 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 119 119 if(rowObject.labels){ 120 120 classes += '<span class="flags labeled"> </span>'; … … 122 122 classes += '<span class="flags"> </span>'; 123 123 } 124 125 124 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>'; 127 131 } 128 132 return classes; … … 333 337 colModel:[ 334 338 {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}, 336 340 {name:'from.name',index:'msg_number', width:70, sortable:false, formatter:NormaliseFrom}, 337 341 {name:'subject',index:'subject', width:245, sortable:false},
Note: See TracChangeset
for help on using the changeset viewer.