Changeset 5049 for sandbox/expressoMail1_2/MailArchiver/2.2
- Timestamp:
- 09/06/11 09:17:51 (13 years ago)
- Location:
- sandbox/expressoMail1_2/MailArchiver/2.2/expressoMail1_2/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/expressoMail1_2/MailArchiver/2.2/expressoMail1_2/js/MAExpressoPattern.js
r5002 r5049 448 448 //TODO "download" parametr at webservice => var urllink = 'http://10.200.242.186:4333/part/'+objAtt.attachment[m]["@id"]+'/download'; 449 449 //var urllink = 'http://10.200.242.186:4333/part/'+objAtt.attachment[m]["@id"]; 450 var urllink = mail_archive_protocol+'://'+mail_archive_host+':'+mail_archive_port+'/part/'+objAtt.attachment[m]["@id"]; 450 //var urllink = mail_archive_protocol+'://'+mail_archive_host+':'+mail_archive_port+'/part/'+objAtt.attachment[m]["@id"]; 451 var urllink = mail_archive_protocol+'://'+mail_archive_host+':'+mail_archive_port+'/part/download/'+objAtt.attachment[m]["@id"]; 451 452 srlData += 's:1:"' + m + '";' 452 453 + 'a:3:{' … … 566 567 Result_imagens = er_imagens.exec(thumbs[i]); 567 568 thumbs[i] = thumbs[i].replace(Result_imagens,anexos[i]['url']); 568 thumbs[i] = thumbs[i].replace(/<IMG/i,'<img width="120"'); 569 thumbs[i] = thumbs[i].replace(/<IMG/i,'<img width="120"'); 569 570 } 570 571 } -
sandbox/expressoMail1_2/MailArchiver/2.2/expressoMail1_2/js/messages_controller.js
r5035 r5049 99 99 expresso_local_messages.get_url_anexo(info_msg.msg_number,info_msg.attachments[numero_ordem_anexo].pid)+ 100 100 "')";*/ 101 return "javascript:download_local_attachment('http://10.200.242.186:4333/part/"+info_msg.attachments[numero_ordem_anexo].pid+"')"; 101 //return "javascript:download_local_attachment('http://10.200.242.186:4333/part/"+info_msg.attachments[numero_ordem_anexo].pid+"')"; 102 return "javascript:download_local_attachment('"+ mail_archive_protocol+'://'+mail_archive_host+':'+mail_archive_port+'/part/download/' +info_msg.attachments[numero_ordem_anexo].pid + "')"; 102 103 } 103 104 else {
Note: See TracChangeset
for help on using the changeset viewer.