- Timestamp:
- 06/19/13 13:25:05 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/draw_api.js
r8174 r8177 4695 4695 var autocomplete = $(this)[0].element; 4696 4696 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"}); 4705 4698 4706 4699 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.