Changeset 2572 for trunk/expressoMail1_2/js/jscode/DropDownContacts.js
- Timestamp:
- 04/16/10 17:36:06 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/jscode/DropDownContacts.js
r2561 r2572 16 16 div_message_scroll = Element('div_message_scroll_'+ fld_id.substring(fld_id.length - 1, fld_id.length)); 17 17 18 var string_contacts = contacts 18 var string_contacts = contacts; 19 19 if (Element(fld_id)) 20 20 var mail = Element(fld_id).value; … … 91 91 } 92 92 //lines = lines + "<tr><td id=td_DD_"+i+" onClick=\"javascript:hideTip();makeMailList('"+match_contacts[i]+"','"+fld_id+"');document.getElementById('" + fld_id + "').focus();\" onmouseover=\"selectContact("+i+")\">" + match_contacts[i] + "</td></tr>" 93 lines = lines + "<tr><td id=td_DD_"+i+" onMouseDown=\"javascript:hideTip();makeMailList('"+match_cont+"','"+fld_id+"');setTimeout('document.getElementById(\\'"+fld_id+"\\').focus()',300);\" onmouseover=\"selectContact("+i+")\">" + match_cont + "</td></tr>" 93 lines = lines + "<tr><td id=td_DD_"+i+" onMouseDown=\"javascript:hideTip();makeMailList('"+match_cont+"','"+fld_id+"');setTimeout('document.getElementById(\\'"+fld_id+"\\').focus()',300);\" onmouseover=\"selectContact("+i+")\">" + match_cont + "</td></tr>"; 94 94 match_cont = ""; 95 95 } … … 128 128 129 129 if (lines != ''){ 130 table_contacts = table_contacts_header + lines + table_contacts_foot 131 doTooltip(posX, posY, table_contacts) 130 table_contacts = table_contacts_header + lines + table_contacts_foot; 131 doTooltip(posX, posY, table_contacts); 132 132 } 133 133 else … … 140 140 { 141 141 list = Element(fld_id); 142 for (var i = list.value.length; ((i!=0) && (list.value.substring(i-1,i)!=',')); i--) {}142 for (var i = list.value.length; ((i!=0) && (list.value.substring(i-1,i)!=',')); i--) { }; 143 143 mail = mail.replace(/</g,"<"); 144 144 mail = mail.replace(/>/g,">"); … … 183 183 while (obj.offsetParent) 184 184 { 185 curleft += obj.offsetLeft 185 curleft += obj.offsetLeft; 186 186 obj = obj.offsetParent; 187 187 } … … 199 199 while (obj.offsetParent) 200 200 { 201 curtop += obj.offsetTop 201 curtop += obj.offsetTop; 202 202 obj = obj.offsetParent; 203 203 }
Note: See TracChangeset
for help on using the changeset viewer.