- Timestamp:
- 09/04/12 11:39:14 (12 years ago)
- Location:
- branches/2.4/expressoMail1_2/js
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.4/expressoMail1_2/js/common_functions.js
r6931 r7156 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 -
branches/2.4/expressoMail1_2/js/draw_api.js
r7141 r7156 3453 3453 i++; 3454 3454 }else{ 3455 var href = './inc/get_archive.php?msgFolder=' + fdr+ '&msgNumber=' + msg + '&indexPart=' + thumb.pid + '&image=true';3455 var href = './inc/get_archive.php?msgFolder=' + utf8_decoder(fdr) + '&msgNumber=' + msg + '&indexPart=' + thumb.pid + '&image=true'; 3456 3456 //var href = thumb.url; 3457 var src = 'inc/get_archive.php?msgFolder=' + fdr + '&msgNumber=' + msg + '&indexPart=' + thumb.pid + '&image=thumbnail';3457 var src = 'inc/get_archive.php?msgFolder=' + utf8_decoder(fdr) + '&msgNumber=' + msg + '&indexPart=' + thumb.pid + '&image=thumbnail'; 3458 3458 } 3459 3459 var msgid= fdr+";;"+msg+";;"+i+";;"+thumb.pid+";;"+thumb.encoding; -
branches/2.4/expressoMail1_2/js/main.js
r7142 r7156 3591 3591 if(_button == 2 || _button == 3) { 3592 3592 var _params = _target.id.split(";;"); 3593 download_attachments( _params[0],_params[1],_params[2],_params[3],_params[4],file_type);3593 download_attachments(Base64.encode(_params[0]),_params[1],_params[2],_params[3],_params[4],file_type); 3594 3594 } 3595 3595 } -
branches/2.4/expressoMail1_2/js/messages_controller.js
r7034 r7156 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+"')"; 127 } 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+"')"; } 128 127 } 129 128
Note: See TracChangeset
for help on using the changeset viewer.