Changeset 7145
- Timestamp:
- 09/03/12 10:11:03 (12 years ago)
- Location:
- trunk/expressoMail1_2/js
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/common_functions.js
r6996 r7145 249 249 div_attachment = document.getElementById("id_div_attachment"); 250 250 var params = ''; 251 251 if(msg_folder) 252 msg_folder = utf8_decoder(Base64.decode(msg_folder)); 252 253 if (div_attachment == null){ 253 254 var div_attachment = document.createElement("DIV"); … … 273 274 download_attachments(null, null, data, null,null,'anexos.zip'); 274 275 } 275 cExecute("$this.exporteml.download_all_attachments",handler_source,"folder="+ msg_folder+"&num_msg="+msg_number);276 cExecute("$this.exporteml.download_all_attachments",handler_source,"folder="+utf8_decoder(msg_folder)+"&num_msg="+msg_number); 276 277 } 277 278 //ADD forwarded files -
trunk/expressoMail1_2/js/draw_api.js
r7135 r7145 3353 3353 link_attachment.setAttribute("class", "type_images"); 3354 3354 link_attachment.style.display = "block"; 3355 link_attachment.setAttribute("href", proxy_mensagens.link_anexo(info_msg,i)); 3355 link_attachment.setAttribute("href", proxy_mensagens.link_anexo(info_msg,i)); 3356 3356 link_attachment.innerHTML = url_decode(info_msg.attachments[i].name) + " ("+borkb(info_msg.attachments[i].fsize)+")"; 3357 3357 //link_attachment.innerHTML += " ("+borkb(info_msg.attachments[i].fsize)+")"; … … 3607 3607 i++; 3608 3608 }else{ 3609 var href = './inc/get_archive.php?msgFolder=' + fdr+ '&msgNumber=' + msg + '&indexPart=' + thumb.pid + '&image=true';3609 var href = './inc/get_archive.php?msgFolder=' + utf8_decoder(fdr) + '&msgNumber=' + msg + '&indexPart=' + thumb.pid + '&image=true'; 3610 3610 //var href = thumb.url; 3611 var src = 'inc/get_archive.php?msgFolder=' + fdr+ '&msgNumber=' + msg + '&indexPart=' + thumb.pid + '&image=thumbnail';3611 var src = 'inc/get_archive.php?msgFolder=' + utf8_decoder(fdr) + '&msgNumber=' + msg + '&indexPart=' + thumb.pid + '&image=thumbnail'; 3612 3612 } 3613 3613 var msgid= fdr+";;"+msg+";;"+i+";;"+thumb.pid+";;"+thumb.encoding; -
trunk/expressoMail1_2/js/main.js
r7135 r7145 3851 3851 if(_button == 2 || _button == 3) { 3852 3852 var _params = _target.id.split(";;"); 3853 download_attachments( _params[0],_params[1],_params[2],_params[3],_params[4],file_type);3853 download_attachments(Base64.encode(_params[0]),_params[1],_params[2],_params[3],_params[4],file_type); 3854 3854 } 3855 3855 } -
trunk/expressoMail1_2/js/messages_controller.js
r7005 r7145 124 124 } 125 125 else { 126 return "javascript:download_attachments('"+ info_msg.msg_folder+"','"+info_msg.msg_number+"',"+numero_ordem_anexo+",'"+info_msg.attachments[numero_ordem_anexo].pid+"','"+info_msg.attachments[numero_ordem_anexo].encoding+"','"+info_msg.attachments[numero_ordem_anexo].name+"')";126 return "javascript:download_attachments('"+Base64.encode(info_msg.msg_folder)+"','"+info_msg.msg_number+"',"+numero_ordem_anexo+",'"+info_msg.attachments[numero_ordem_anexo].pid+"','"+info_msg.attachments[numero_ordem_anexo].encoding+"','"+info_msg.attachments[numero_ordem_anexo].name+"')"; 127 127 } 128 128 }
Note: See TracChangeset
for help on using the changeset viewer.