Changeset 6627


Ignore:
Timestamp:
06/26/12 08:53:08 (9 years ago)
Author:
marcosw
Message:

Ticket #2905 - Correção para correta exibição de contatos dinamicos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/mail/templates/listContacts.ejs

    r6592 r6627  
    3737        <a style="width:<%= (data.type == '/dynamiccontacts' ? '91%' : '97.5%')%>; display: inline-block;"> 
    3838                <img style="position:relative; top:2px; "src="../prototype/modules/mail/img/<%=decodeType[data.type].img%>.png" title="<%=decodeType[data.type].text%>"/> 
    39                 <%= (data.name ? (data.name.length > 20? data.name.substring(0,17)+"..." : data.name)+ " - " : "") %><%= data.mail %> 
     39                <%= ($.trim(data.name) != "" ? (data.name.length > 20? data.name.substring(0,17)+"..." : data.name)+ " - " : "") %><%= data.mail %> 
    4040                <% if(data.type == '/dynamiccontacts'){ %> 
    4141                        <div class="dynamic-stars" style="display: inline-block;float: right;"/> 
Note: See TracChangeset for help on using the changeset viewer.