Changeset 7458 for trunk/expressoMail1_2/js/mail_archiver.js
- Timestamp:
- 10/24/12 15:54:49 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/mail_archiver.js
r7455 r7458 710 710 "&flags=" + flags + 711 711 "&id=" + id; 712 712 713 //Decrementa valor total de não lidas/total de mensagens na aba de listagem de mensagens 714 if(flags.indexOf("U") != -1){ 715 expresso_mail_archive.tot_unseen_msgs_tab -= 1; 716 Element('new_m').innerHTML = '<font color="RED">'+expresso_mail_archive.tot_unseen_msgs_tab+'</font>'; 717 } 718 expresso_mail_archive.tot_msgs_tab -= 1; 719 Element("tot_m").innerHTML = expresso_mail_archive.tot_msgs_tab; //folder_num_msgs; 720 713 721 var handler_unarchive = function(data){ 714 722 expresso_mail_archive.unarchieveController(data); 715 723 } 716 724 write_msg(get_lang('Unarchiving message %1 of %2', (expresso_mail_archive.unarchivecounter + 1), expresso_mail_archive.message_list.length)); 725 717 726 cExecute ("$this.imap_functions.unarchive_mail&", handler_unarchive, params); 718 727 } … … 1398 1407 MailArchiver.prototype.listAllMessagesByFolder = function(folderid, searchType){ 1399 1408 try{ 1400 //Marcosw1401 1409 if(searchType == "ALL") 1402 1410 var query_messages = '{"query":{"folder":[{"@id":"'+folderid+'"}], "order":[{"@asc":"date"}]}}'; … … 1416 1424 for(var i=0; i< returnService.getReturn().length; i++){ 1417 1425 msglist.push(returnService.getReturn()[i]._id); 1418 //Marcosw1419 1426 if(returnService.getReturn()[i]._tags.indexOf("unseen") != -1){ 1420 1427 expresso_mail_archive.tot_unseen_msgs_tab++;
Note: See TracChangeset
for help on using the changeset viewer.