Changeset 8177 for trunk/expressoMail1_2


Ignore:
Timestamp:
06/19/13 13:25:05 (11 years ago)
Author:
angelo
Message:

Ticket #3462 - Quebra de layout na listagem de contatos dinamicos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/draw_api.js

    r8174 r8177  
    46954695            var autocomplete = $(this)[0].element; 
    46964696 
    4697             //cálculo dinâmico da largura da lista 
    4698             var minwidth = 450; 
    4699             var width = (item.label ? item.label.length : (item.value ? item.value.length : (item.mail ? item.mail.length : 30 ))); 
    4700             width = (is_ie ? width*2 : (is_webkit && !is_mozilla ? width*4 : width*5)) + 30; 
    4701             if (width < minwidth) 
    4702                 width = minwidth; 
    4703  
    4704             ul.css({"min-width":width, "max-height" : "180px", "overflow-y" : "auto", "min-height": "30px"}); 
     4697            ul.css({"width":'50%',"min-width":'600px', "max-height" : "180px", "overflow-y" : "auto", "min-height": "30px"}); 
    47054698 
    47064699            item.raty = ((item.number_of_messages*10)/topContact) > 1 ? ((item.number_of_messages*10)/topContact) : 1; 
Note: See TracChangeset for help on using the changeset viewer.