Changeset 7337 for branches/2.4
- Timestamp:
- 10/02/12 15:43:43 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/expressoMail1_2/js/main.js
r7328 r7337 2508 2508 var attach = {}; 2509 2509 2510 attach.fileName = attachments[i].text.substring(0, attachments[i].text.lastIndexOf('(')); 2510 var attachText = (is_ie ? attachments[i].innerText : attachments[i].text); 2511 attach.fileName = attachText.substring(0, attachText.lastIndexOf('(')); 2511 2512 attach.fullFileName = attach.fileName; 2512 2513 2513 if(attach.fileName.length > 20) 2514 2514 attach.fileName = attach.fileName.substr(0, 17) + " ... " + attach.fileName.substr(attach.fileName.length-9, attach.fileName.length); 2515 2515 2516 attach.fileSize = attach ments[i].text.substring(( attachments[i].text.lastIndexOf('(')+1), attachments[i].text.lastIndexOf(')'));2516 attach.fileSize = attachText.substring((attachText.lastIndexOf('(')+1),attachText.lastIndexOf(')')); 2517 2517 attach.error = false; 2518 2518
Note: See TracChangeset
for help on using the changeset viewer.