Changeset 7108
- Timestamp:
- 08/23/12 16:07:07 (12 years ago)
- Location:
- trunk/expressoMail1_2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r7098 r7108 1096 1096 1097 1097 /*Atualiza o array de mensagens selecionadas*/ 1098 function updateSelectedMsgs(selected,msg_number){ 1098 function updateSelectedMsgs(selected,msg_number){ 1099 1099 var folder = $('#content_folders .folder.selected').attr('title'); 1100 1100 folder = folder ? folder : get_lang('INBOX'); … … 4338 4338 var autocomplete = $(this)[0].element; 4339 4339 //cálculo dinâmico da largura da lista 4340 var width = (item.label ? item.label.length : (item.value ? item.value.length : (item. email ? item.email.length : 20 )));4341 width = width*5 + (is_ie ? 170 : 200) + 16;4340 var width = (item.label ? item.label.length : (item.value ? item.value.length : (item.mail ? item.mail.length : 20 ))); 4341 width = (is_ie ? width*2 : width*4) + 20; 4342 4342 if (width < $(ul).width()) 4343 4343 width = $(ul).width(); -
trunk/expressoMail1_2/templates/default/listContacts.ejs
r6528 r7108 8 8 <li> 9 9 <img style="position:relative; top:2px; "src="templates/default/images/<%=data.type == 'pessoal' ? 'contato_pessoal' : 'contato_recente'%>.png" title="Contato <%=data.type == 'pessoal' ? data.type : 'recente'%>"/> 10 <a style="width:80%; display: inline-block;"><%= data.name 10 <a style="width:80%; display: inline-block;"><%= data.name.length <= 21 ? data.name : data.name.substr(0,18) + "..."%> - <%= data.email %></a> 11 11 <span style="width:16px; height:16px; top:5px; <%=data.type == 'pessoal' ? 'display:none' : ''%>">Excluir contato recente</span> 12 12 <%}%>
Note: See TracChangeset
for help on using the changeset viewer.